Create printers.conf by script?

Michael Sweet mike at easysw.com
Wed Mar 15 10:58:50 PST 2006


Peter wrote:
> We have to 'duplicate' our 200 printer-queues from various windows-print-servers to a cups-server.
> 
> (Reason: our Unix-Host-System needs to print PostScript-Pages through CUPS to our PS-capable printers).
> 
> Is there any chance to automate this task? It would be great if a script could write the necessary data in the printers.conf.

You can certainly create a printers.conf file via a script.  You
can also use the lpadmin command to update the printers.conf file
while cupsd is running.

"man lpadmin" and "man printers.conf" should tell you everything
you need.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list