[cups.general] Re: Automatically starting printer when turned on

Rens rens at milieudefensie.nl
Mon Jun 20 13:34:38 PDT 2005


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.


-- 
Rens





More information about the cups mailing list