[cups.general] Excessive Get-Printer-Attributes in CUPS
Jeff Hardy
hardyjm at potsdam.edu
Wed Sep 19 06:11:24 PDT 2007
On Mon, 2007-09-17 at 14:49 -0700, Kurt Pfeifle wrote:
> 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 ended up causing some problems as all jobs showed up in all queues.
>
> (this should use the CUPS default command, because Samba should be linked
> against libcups) or use
>
> lpq command = lpstat -o %p
This works just fine. But, my problems still remain. And, I'm still
seeing a ton of these:
D [19/Sep/2007:09:06:40 -0400] Get-Printer-Attributes
ipp:///printers/printers
D [19/Sep/2007:09:06:40 -0400] Get-Printer-Attributes
client-error-not-found: The printer or class was not found.
D [19/Sep/2007:09:06:40 -0400] cupsdProcessIPPRequest: 20
status_code=406 (client-error-not-found)
D [19/Sep/2007:09:06:40 -0400] cupsdCloseClient: 20
>
> 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.
>
>
Thanks for the thought.
-Jeff
More information about the cups
mailing list