[cups.general] Excessive Get-Printer-Attributes in CUPS

Kurt Pfeifle k1pfeifle at gmx.net
Mon Sep 17 14:49:28 PDT 2007


Jeff Hardy wrote:

>         lpq command = %p

This one is rubbish. You don't have it in smb.conf -- it's what Samba
uses as a default, but it's a bug.

To work around it, please add the explicit line to smb.conf

  lpq command = ""

(this should use the CUPS default command, because Samba should be linked
against libcups) or use

  lpq command = lpstat -o %p

explicitely which is what you'd use with CUPS on the commandline (%p gets
replaced by the actual printer name).

Dunno if this could cause the problem you're seeing...

It's probably a good idea to report this as a Samba bug in their Bug-
zilla.


-- 
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