[cups.general] Migrating printers from one CUPS instance to another

Johannes Meixner jsmeix at suse.de
Thu Nov 24 08:18:23 PST 2005


Hello,

On Nov 24 07:30 Anonymous wrote (shortened):
> Would a copy of printers.conf be sufficient to migrate the printers
> defined on the primary to the secondary ?

See for example
http://portal.suse.com/sdb/en/2004/05/jsmeix_print-cups-in-a-nutshell.html
--------------------------------------------------------------------------
Never copy configuration files from other systems to your system unless
you know exactly what you are doing. Use command-line tools instead.

For example, to set up the same queues on several machines (e.g., for
a backup server), do not copy /etc/cups/printers.conf and /etc/cups/ppd/*,
but write the respective commands in a script (usually a sequence of
lpadmin commands) and run the script on the various machines.
In this way, any error messages will be displayed on the respective
machines (e.g., if a PPD file is not available on a machine or if a
backend is not available or not ready to use).
Furthermore with such a script you have something like a log-file of
the settings, enabling you to restore the settings by running the
script at any time.
--------------------------------------------------------------------------

Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: jsmeix at suse.de
90409 Nuernberg, Germany                    WWW: http://www.suse.de/





More information about the cups mailing list