Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Add high-end printers to other machines via the shell UNIX
This excellent tip explained how to manage LPR printers using the command line lpadmin printing tool, but there were no instructions on how use printer queues for high-end printers with a RIP -- like those from Xerox and Canon. Typically, these printer queues will contain options such as Print, Hold or Direct. Although it's easiest to use Open Directory to manage your printers and these special settings, if you use ARD or Filewave for Desktop management, you can issue a shell command or shell script to automatically add these special type of printers without end-user disruption.

Simply add your printer's queue to the end of the IP address or URL like the example shell script below, and voila, your users will have all of their special printer configurations added automagically.

#This script installs the left and right Xerox printers in Imaging

lpadmin -p Left242 -L "Left Xerox 242" -E -v lpd:// -P "/Library/Printers/PPDs/Contents/Resources/en.lproj/Fiery EX260 Color Server PS.gz"

/System/Library/StartupItems/PrintingServices/PrintingServices restart

[robg adds: I haven't tested this one.]
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)

Add high-end printers to other machines via the shell | 1 comments | Create New Account
Click here to return to the 'Add high-end printers to other machines via the shell' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add high-end printers to other machines via the shell
Authored by: zellpharm on Jul 26, '07 07:00:08AM

The lpadmin command works very well, I'v been using it via ARD for some time to setup loads of computers on the same floor of a customer's site.

[ Reply to This | # ]