[cups.general] Re: "Printer disabled" - how to prevent it?

Rens rens at milieudefensie.nl
Fri Aug 26 13:06:31 PDT 2005


Edy wrote:
> maybe luciano can give the example script that put in the cron :)

Here's the oneliner I have as a cronjob:
/usr/sbin/lpc status | grep -B4 "printing is disabled" | grep : | tr -d
":" | xargs --max-args=1 /usr/bin/enable

Hope it is of some use.


-- 
Rens





More information about the cups mailing list