[CentOS] CUPS job handling

hw

hw at gc-24.de
Tue Aug 20 11:49:57 UTC 2019


Hi,

is it somehow possible to make CUPS automatically redirect jobs, and
following jobs, away from printers which can not print them to other
printers that can print them until the printers that couldn't print
them are again able to print them?

Like I have a bunch of label printers which are all the same, and all
of which are prone to run out of labels or out of ribbon every now and
then.  It can take hours or even days before someone can refill a
printer.  Hence it would be very useful if CUPS could be told
something like "if printer A doesn't print, move its current job to
printer B and divert all new jobs sent to A to printer B instead until
A prints again".


What exactly happens when a printer that is member of a class can not
print a job that was sent to the class?  Will the unprintable job be
automatically moved to another member of the same class, or will it
only be aborted and never printed?

With a class of two printers and one of them running out of labels,
/var/log/cups/error_log only holds:

... [Job 174733] Stopping unresponsive job.

What does this mean?  Has the job been printed or not?  Has it been
printed after I refilled the printer?


More information about the CentOS mailing list