[MacTUG] More lpadmin (and lpoptions) fun ;-)

Donald Duff-McCracken dsmccrac at uwaterloo.ca
Tue Aug 8 15:56:05 EDT 2017


If you are looking to further tweak a printer, lpoptions can help out, but first you must install the printer to a client machine. Then if you issue the
Lpoptions –p printer_name –l
it will spew out a ton of options (eg 100 lines) for you to play with! ;-) It is just reading them from the PPD

For example, for these new BW/colour combo printers I want to have the default be grayscale. Buried in the output from the above command is”
XROutputColor/Xerox Black and White: Unspecified *PrintAsColor PrintAsGrayscale

So adding
-o XROutputColor=PrintAsGrayscale
to my lpadmin command ensures it will be so configured

From
http://www.grivet-tools.com/blog/2015/figuring-out-available-printer-options-in-the-command-line/


------------------------------------
Donald Duff-McCracken
Technical Services Manager
Mapping, Analysis & Design
Faculty of Environment
University of Waterloo
(519) 888-4567 x32151
https://uwaterloo.ca/environment-computing/about/people
------------------------------------
This email communication is intended as a private communication for the sole use of the primary addressee and those individuals listed for copies in the original message. The information contained in this email is private and confidential and If you are not an intended recipient you are hereby notified that copying, forwarding or other dissemination or distribution of this communication by any means is prohibited.  If you are not specifically authorized to receive this email and if you believe that you received it in error please notify the original sender immediately.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uwaterloo.ca/pipermail/mactug/attachments/20170808/761d589b/attachment.html>


More information about the MacTUG mailing list