[cups.general] Excessive Get-Printer-Attributes in CUPS
Kurt Pfeifle
k1pfeifle at gmx.net
Mon Jul 23 07:34:40 PDT 2007
Jeff Hardy wrote:
> load printers = yes
> printing = cups
> printcap name = cups
> cups options = raw
> show add printer wizard = yes
> addprinter command = /usr/local/bin/smbaddprinter.pl
> deleteprinter command = /usr/local/bin/smbdelprinter.pl
These may well be the complete parameters written down in smb.conf by
you that relate to printing.
But for sure these are *NOT* the complete parameters used by Samba!
Samba uses a lot of default, built-in/compiled-in parameters which you
do not need to specify in smb.conf in order to see them used.
For a complete picture of paramaters used by your running Samba processes,
try this command:
testparm -sv
For a (fairly) complete picture of printing and CUPS related parameters,
try this:
testparm -sv | grep -E "print|driver|lp|cups|spool"
(This may not find all settings contained inside [print$], [printers] or
[some_printer_name] sections...)
Try to set a "printcap cache time = 60" and see if your problem goes
away.
--
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH ..................... Hedelfinger Strasse 58
A RICOH Company ........................... D-70327 Stuttgart/Germany
More information about the cups
mailing list