[cups.general] enable printer after problem

Michael Sweet mike at easysw.com
Tue Oct 11 08:19:02 PDT 2005


Patrick DUBAU wrote:
> Michael Sweet a écrit :
> 
>> Patrick DUBAU wrote:
>>
>>> Hi,
>>>
>>> i have CUPS  1.1.23-10 with following problem.
>>>
>>> When a printer has a problem, for example traffic jam, the printer in 
>>> CUPS comes in a "disable state" and i have to go into cups to restart 
>>> the printer.
>>> This is very enoying when our students have this problem and nobody 
>>> is here to restart the printer.
>>> Is there a way for CUPS not to disable the printer whatever the 
>>> problem is on the printer so that as soon as the problem is solved 
>>> printing is possible again without restarting the printer ?
>>
>>
>> Not with CUPS 1.1.x, however you can setup a cron job to automatically
>> enable stopped printers (see the many posts on this subject for
>> examples...)
>>
>> CUPS 1.2 adds a per-printer error policy that allows for other
>> behavior, including retrying again in 5 minutes if a printer goes
>> down.
>>
> Thanks for your answer Michael.
> 
> i don't have lot of  history from this mailling list (just new 
> subscribe), won't you mind give me a help in how to create this cron job 
> ? Thanks

You can search the CUPS forums (from which the mailing lists are
mirrored) at:

     http://www.cups.org/newsgroups.php

The following link may be of use:

     http://www.linuxprinting.org/foomatic-filters/beh

This particular backend doesn't use cron so it might be easier for
you to setup.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list