How do you return CUPS to pristine default settings? I have had too many people giving me suggestions that dont work and want to start the whole thing over. How can I reset it?
Well, you can safely delete the printer config settings with
rm -f /etc/cups/printers.conf
and CUPS can be restarted with
rccups restart
That would usually be enough to start over if your printer configuration was an issue.
The other key config file is /etc/cups/cupsd.conf, and this contains various server configuration parameters (including networking settings and access permissions). If you think you’ve trashed this file irrevocably, (most users don’t need to touch this file), then you may be best to reinstall the cups package (which will reinstate this file along with others):
zypper in --force cups
On 2011-07-07 10:06, China Jobs wrote:
>
> How do you return CUPS to pristine default settings? I have had too
> many people giving me suggestions that dont work and want to start the
> whole thing over. How can I reset it?
From an old post in the mail list by Johannes Meixner (suse):
When the cupsd config file /etc/cups/cupsd.conf is broken
there is a /etc/cups/cupsd.conf.default installed
which you can copy to /etc/cups/cupsd.conf as root with
cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
to start cupsd with a clean default cupsd config file.
If even this does not help (e.g. when the CUPS spool files
are totally messed up), see
http://en.opensuse.org/SDB:CUPS_-_Reinstalling_the_Printing_System
regarding “Reinstalling the Printing System”
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)