[MacTUG] Querying printer for its driver

Donald Duff-McCracken dsmccrac at uwaterloo.ca
Thu Jul 4 13:51:23 EDT 2013


If you figure that one out, let me know! I do a similar kind of thing for my labs. Here one of the printers I set up…
lpadmin -p mad_colour_ricoh -v lpd://129.97.54.52/mad_colour_ricoh -D mad_colour_ricoh -P /Library/Lab/PPDs/mad_colour_ricoh -E
I cheat in that I have a folder of PPDs in a folder in /Library where I rename the PPD to the name of the printer. I do that partly to keep it figured out in my brain and partly because I do not want my PPDs changed by an update without me knowing ;-)

But if I could match the PPD easily to the printer, I would automate it more and stop squirrelling PPDs away.

------------------------------------
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/donald-duff-mccracken

------------
To request help from MAD please use Request Tracker. For info see:
https://rt.uwaterloo.ca/~wwwrt/cgi-bin/rtuser.pl

------------
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.

From: Dani Roloson <daroloso at uwaterloo.ca<mailto:daroloso at uwaterloo.ca>>
Date: Thursday, 4 July, 2013 1:38 PM
To: "mactug at lists.uwaterloo.ca<mailto:mactug at lists.uwaterloo.ca>" <mactug at lists.uwaterloo.ca<mailto:mactug at lists.uwaterloo.ca>>
Subject: [MacTUG] Querying printer for its driver

I've got the hang of configuring printers using

lpadmin -p ljp_3016 -E -v "lpd://print.math.uwaterloo.ca/ljp_3016" -P '/Library/Printers/PPDs/Contents/Resources/HP LaserJet 600 M601 M602 M603.gz' -o printer-is-shared=false -o HPOption_Duplexer=True

but I want to step back further and figure out the PPD from the command line instead of the GUI.

Any ideas?

Dani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uwaterloo.ca/pipermail/mactug/attachments/20130704/0f9972a6/attachment.html>


More information about the MacTUG mailing list