[cups] not possible to print after an error occur

Johannes Meixner jsmeix at suse.de
Wed Dec 9 01:53:06 PST 2015


Hello,

On Dec 8 13:15 Meyer Klaus wrote:
> we are using cups 2.0.2.
> The printer are connected via socket.
> Now I recognize that when a printer runs out of paper
> or some other error occur, cups stops printing.
> Although the error police is to stop the printer,
> it remains in state busy.
> After the error on the printer is solved (can take up
> to several hours) cups won't start the jobs which are
> in the queue. 
> The first job is in state "The printer is not responding".
> Disable the printer and reeanble it leads to printer is idle,
> accepting jobs but it won't print anything.
> To solve this problem I have to restart cups or delete the
> first job and move all other jobs to the same printer with
> another name.
> I am unable to print the job which is in error state.
> After all jobs are moved, the printer accepts printing jobs again.
>
> How can I solve this problem in another way?
> Before cups 2.0.2 we were using cups 1.3.5.
> With this version we never had such problems.

Only a guess:

Because it remains in state busy I assume that the current job
when the erropr happens inside the printer device is not aborted
but that instead the CUPS backend "socket" keeps running
and tries to communicate with the printer device but that
results "The printer is not responding".

I guess that this particular communication happens via SNMP.

SNMP support for the standard network backends
is provided and by default enabled since CUPS 1.4.

I geuess that without SNMP support (i.e. as it was in CUPS 1.3)
it works for your particular printer device.

To disable SNMP support for the standard network backends have
the following line in the PPD file /etc/cups/ppd/<queue_name>.ppd
for your print queue:

*cupsSNMPSupplies: False

See
https://www.cups.org/documentation.php/doc-2.0/spec-ppd.html#cupsSNMPSupplies

FYI:
In general regarding reporting and debugging CUPS issues,
you may have a look at
https://en.opensuse.org/SDB:How_to_Report_a_Printing_Issue


Kind Regards
Johannes Meixner
-- 
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)




More information about the cups mailing list