[cups.general] Problems with paused printers

Johannes Meixner jsmeix at suse.de
Tue Jan 29 02:59:39 PST 2008


Hello,

On Jan 28 00:35 Daniel Tinkov wrote (shortened):
> Is there any way to tell CUPS to cancel the bad job
> instead of pausing the printer?
....
> ... SuSE Enterprise Linux 10 SP1...

For CUPS 1.1:
If you know that it doesn't matter when you loose print jobs,
we provide a backend wrapper "beh" (package cups-backends)
which you can use to let jobs silently be dropped when
they cannot be sent to the device, see
http://www.linux-foundation.org/en/OpenPrinting/Database/BackendErrorHandler
Additionally see the /usr/lib[64]/cups/backend/beh perl script
for your exact version how to set it up.

But note that you may lose all jobs in the queue if there is
an error condition which is not specific for one single job:
Assume there are 10 jobs in the queue.
Job 1 and 2 print fine.
At job 3 an error condition happens which lets the
backend fail so that job 3 becomes silently dropped.
Then job 4 starts but if the error condition still exists,
the backend fails again so that job 4 becomes also dropped.
And so on until all jobs are silently lost.


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex





More information about the cups mailing list