Create default printer presets for multiple users

Feb 07, '13 07:30:00AM

Contributed by: Anonymous

I was tasked with setting up a company's new printers and had to struggle with creating a default set presets that also used a PIN number login for accounting. This needed to be pushed out to the current user base, in real time, and without interrupting anyone's ability to print. Here's how I did it.

Tools:

1. Create the default settings:

In Terminal, run this command: sudo cupsctl WebInterface=yes
In a web browser, go to: http://localhost:631/admin

2. Install the drivers (.pkg files via ARD)

3. Add the printer using lpadmin:

lpadmin -p SweetNewPrinter-7535-clr -L "Department" -E -v lpd://WindowsServer/SweetNewPrinter-7535-clr -P /Library/Printers/PPDs/Contents/Resources/Xerox\ WC\ 7535.gz -o printer-is-shared=false

4. Copy the default cups PPDs via ARD (set permissions to: root:_lp):

/private/etc/cups/ppd/"SweetNewPrinter.ppd"

It took about an hour to set this up for 200 end users, with no scripting required.

Comments (9)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20130123160924469