Automatically starting printer when turned on

Michael Sweet mike at easysw.com
Tue Jun 21 18:44:37 PDT 2005


Anonymous wrote:
>>Hi Jure,
>>
>>
>>>So my question is: Is this a bug in CUPS? If not, is it possible to setup CUPS
>>>in such a way that it automatically starts the printer when it is turned on
>>>again?
>>
>>I have this one line cron'd on the cups server, it starts all disabled
>>printers every X minutes:
>>
>>/usr/sbin/lpc status | grep -B4 "printing is disabled" | grep : | tr -d
>>":" | xargs --max-args=1 /usr/bin/enable
>>
>>Perhaps you can use this.
> 
> 
> Is there any better way? Can't CUPS just detect when printer has been turned on and reenable it. That would be the most logical thinng. If there is no better option I will have to use this workaround untill this problem gets fixed.

No, it can't detect this.

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




More information about the cups mailing list