Cups importing/exporting

Kurt Pfeifle kurt.pfeifle at infotec.com
Fri May 25 18:29:37 PDT 2007


> So, have a test CUPS 1.2 server running, create one printer queue from
> a CUPS 1.1 server, compare their config file and look at the differences
> and work from there.

Isn't that overly complicated (and error prone)?

Isn't it simpler (and more reliable) is to run the "lpadmin" command for each printer (with the right parameters which you can derive from "lpstat -v" [and "lpstat -l -p" if you require to know the "Description" and "Location" and "Banner" and .... fields]. That's also easily scriptable...

The lpadmin command will automatically create the correct printers.conf entries.





More information about the cups mailing list