Stopping autodisabling of queues at printer toubles

Helge Blischke h.blischke at srz.de
Mon Aug 15 06:47:26 PDT 2005


Anonymous wrote:
> 
> Hello,
> 
> a normal user may here not configure CUPS. But currently, CUPS always disables the queue when the printer does not react. This is usually the case either if paper is empty or if the Postscript interpreter has troubles.
> As a user one can then easily refill the paper or restart the printer, but one cannot enable the queue.
> Currently, the following workaround is used: Enable all the queues via cron. But this is not the proper solution.
> Before, using LPRng, the daemon has simply retried until the printing succeeded.
> 
> How can I do this in CUPS?
> 
> Tobias

With current CUPS, you may do so by wrapping the actual backend by a script that
checks the original backend's return code and does the repeated tries. In CUPS 1.2,
there will be the possibility to define sort of a recovery policy for such conditions.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list