cups printing to Brother MFC-9840-CDW - Small font size

Issues related to applications and software problems
Post Reply
dunwell
Posts: 116
Joined: 2010/12/20 18:49:52
Location: Colorado
Contact:

cups printing to Brother MFC-9840-CDW - Small font size

Post by dunwell » 2016/03/20 17:08:31

I've run into an issue with command line printing with lp or lpr where the resultant printout is always very small print. It looks like about 6-8 point! The defalut printer was installed with the GUI tool and it works just fine printing from Firefox or some other applications. But any tool such as gedit or a direct command from the command line always results in this very small print.

I have an environment var set in my .tcshrc for

Code: Select all

setenv LPDEST  MFC9840CDW
which is the printer name. The commands I've tried are of the form

Code: Select all

lp -p MFC9840CDW -o cpi=12 -o lpi=6 test.txt
lpr -o cpi=10 -o lpi=6 test.txt 
and similar, where test.txt is just a rubbish text file. Despite any changes to cpi or lpi the print is the same. I was doing this in preparation to making a ~/.lpoptions file but could not get anything to work.

Current /etc/cups/cupsd.conf looks like

Code: Select all

> cat cupsd.conf
MaxLogSize 0
# Show general information in error_log.
LogLevel warn
Port 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
WebInterface Yes
<Location />
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin>
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>
<Policy default>
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
<Policy authenticated>
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
Although I used the Brother driver CD/DVD for the install just to make sure I went to their site and downloaded and installed the latest/greatest driver
http://support.brother.com/g/b/download ... all&os=127
but this had no effect. Still small print from the command line/gedit and good print from Firefox.

So I'm guessing that there is something in the Brother print-driver or there is some file that has some defaults that override the command line settings. I could find out nothing on the net or our fora related to this issue. If anyone has some info as to what to try or where to look it is appreciated.

Alan (Grasshopper) D.

dunwell
Posts: 116
Joined: 2010/12/20 18:49:52
Location: Colorado
Contact:

Re: cups printing to Brother MFC-9840-CDW - Small font size

Post by dunwell » 2016/03/25 23:01:38

I see that folks have looked at this but no suggestions so far. Perhaps I'm being too specific with this.

I really don't understand how cups/command-line printing operates so I am having trouble figuring out what the problem is specifically with my Brother printer. Perhaps if someone can explain the print process a bit to me I can run down the trouble. I've looked in the How-2 pages and searched the forum and the web in general but have been unable to determine how cups works.

Assume one has a printer installed and an environment variable set for LPDEST, from the moment you enter a command of lp or what happens? When I do
which lp
I see it goes to
/usr/bin/lp
which is a link to
/etc/alternatives/print-lp
which is also a link to
/usr/bin/lp.cups

But how does it decide what printer to use, where are the print drivers, how can you set defaults for the program, etc?? There doesn't seem to be those kind of setting in the /etc/cups/cupsd.conf.

Any hints or explanation of how cups works is appreciated.
Alan D.
80027

Post Reply

Return to “CentOS 7 - Software Support”