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

Create default printer presets for multiple users Printers
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:

  • CUPS server web interface to set the printer defaults
  • ARD to install the drivers
  • lpadmin to add the printer (We're using LPD on a Windows 2008 R2 server)
  • ARD to copy the cups PPDs

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.

    •    
  • Currently 3.25 / 5
  You rated: 4 / 5 (4 votes cast)
 
[8,645 views]  

Create default printer presets for multiple users | 9 comments | Create New Account
Click here to return to the 'Create default printer presets for multiple users ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create default printer presets for multiple users
Authored by: benwiggy on Feb 07, '13 08:20:28AM

Is the point of this hint that you can set the defaults on one system, and then copy those defaults to the other machines by copying the cups/ppd file?

Surely, you can set all the options with lpadmin anyway?

Edited on Feb 07, '13 08:22:56AM by benwiggy



[ Reply to This | # ]
Create default printer presets for multiple users
Authored by: david-bo on Feb 07, '13 10:20:20AM

Ridiculous. Why not just deploy this during the night. 1 minut of not being able to print - what kind of business can't handle that?

I think this hint solves a non-real world problem and the author just wanted see his name online.

---
link



[ Reply to This | # ]
Create default printer presets for multiple users
Authored by: benwiggy on Feb 07, '13 03:44:55PM

"The author just wants to see his name online"
...except that it's an anonymous hint.



[ Reply to This | # ]
Create default printer presets for multiple users
Authored by: david-bo on Feb 07, '13 03:51:05PM

That was probably just a mistake.

---
link



[ Reply to This | # ]
Create default printer presets for multiple users
Authored by: benwiggy on Feb 07, '13 03:55:12PM

His mistake, or yours?



[ Reply to This | # ]
Create default printer presets for multiple users
Authored by: msadesign on Feb 08, '13 05:16:52AM

Wow. Tough crowd.



[ Reply to This | # ]
Create default printer presets for multiple users
Authored by: BiL Castine on Feb 08, '13 06:43:58AM

Great hint. Turns out, my IT team has been looking for a method to do just this so your hint arrived at a perfect time.

For all you haters, I work for an Internet startup and despite having 4 colour printers, almost no one prints here. When they do need to print, there's usually struggling by the individual (smart people, just not printer people), then a pop-by to the IT desk. Lots of wasted time. Having the ability to push out printer setups to everyone at once will help save a lot of wasted time for everyone.

Not wanting to interrupt the staff is not an issue for an individual, it's more about the time IT would spend making appointments with 250 people and going to their desks to do 3 min worth of work. The work alone would take 12.5 hours, not to mention setting up appointments.



[ Reply to This | # ]
Create default printer presets for multiple users
Authored by: benwiggy on Feb 08, '13 11:04:54AM

I apologise if my comments seemed harsh -- it was a genuine enquiry -- can't you set all the options using lpadmin anyway?



[ Reply to This | # ]
Create default printer presets for multiple users
Authored by: joelbruner on Feb 11, '13 10:43:08AM
I'm a bit confused looking at the directions: you set the options in CUPS before adding the printer via lpadmin? I'm wondering what presets those are then?

And yes, for those asking you can set ppd options that you set in the printer settings GUI via lpadmin and the -o option:
Getting and setting printer options from the command line for use with lpadmin

[ Reply to This | # ]