Error messages not stopping

Kurt Pfeifle k1pfeifle at gmx.net
Tue Aug 7 11:46:31 PDT 2007


Gordon wrote:

> Here's the parts of the smb.conf:
> 
> Loaded services file OK.
> Server role: ROLE_STANDALONE
>         lpq cache time = 30

Change that line above (or add it) in your smb.conf to:

   lpq cache time = 300

>         load printers = Yes
>         printcap cache time = 750
>         printcap name =

Add a line (or change it) of

    printcap name = cups

to your smb.conf

>         cups server =
>         iprint server =
>         disable spoolss = No
>         addprinter command =
>         deleteprinter command =
>         show add printer wizard = Yes
>         os2 driver map =
>         printer admin =
>         min print space = 0s not stos not sto
>         max reported print jobs = 0
>         max print jobs = 1000
>         printable = No
>         printing = cups
>         cups options = raw
>         print command =
>         lpq command = %p

This one above doesn't look right!

It's a Samba bug (I'm sure you do not have it in your smb.conf). To
work around it, add a line

    lpq command =

(i.e. with an empty value), or one of

    lpq command = lpq -P %p

(i.e. with a valid value) and see if this makes your messages go away.

Also, did you check for Mike's hint, about having a "cups-lpd" process
running, with a possible client still looking for an old (deleted) print
queue?


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