Quantcast
Channel: Admins Goodies » cups
Viewing all articles
Browse latest Browse all 10

Displaying CUPS shared printers in a user’s printer list on OS X Lion

$
0
0

Question

Background

We have a primarily Linux environment, but we have 40 Macs to support. I’m trying to integrate them into our standardized print system. We have about 50 printers shared from a CUPS server with CUPS Browsing.

Current Status

I have modified /printers/etc/cupsd.conf by removing the BrowseLocalProtocols line and adding the line BrowseProtocols CUPS. Now I can see all of our printers when I open the Print & Scan pane in System Preferences. Unfortunately, none of the printers show up in the print dialog for any applications.

I can add printers to the list by clicking the + to add a printer in Print & Scan, selecting a printer, and clicking add. I get a dialog asking if I want to continue since a printer with the same name already exists. I’m not sure how modifying the printer on the CUPS server will affect the clients.

Is there any way to just have all cups shared printers show up in the user’s printer list? Is there a way to add these printers on the command line or in a login script? Should I add them all on a system running Workgroup Manager and distribute them with MCX?

Asked by Jeff Strunk

Answer

Apple’s official answer using Managed Preferences is to distribute your PPD files to the clients and then specify the custom PPD for each print queue in Workgroup Manager.

http://support.apple.com/kb/HT4618?viewlocale=en_US

Further testing has shown that you must install and use the manufacturer’s driver instead of the generic postscript ppd.

Since Apple’s official method is tedious, I have written a script to automatically add all printers shared by a CUPS server using the best matched driver. I anticipate running it daily. It doesn’t help with printers with optional duplexers, but most of our printers have a builtin duplexer.

Answered by Jeff Strunk

Viewing all articles
Browse latest Browse all 10

Trending Articles