If you print something when your printer is turned off (or perhaps when it is out of paper if it is a printer without an OK/Resume button), the stupid CUPS scheduler "stops" the printer. A lot of people think it is too complicated to have to "start" the printer again, so CUPS should be able to automatically restart printers.
Workaround:
A script like this can check for any stopped printers and restart them.
Code: Select all
#!/bin/sh
cut -d "|" -s -f1 /etc/printcap |while read line
do lpstat -p ${line} 2 |grep -E 'not|disabled' && /usr/sbin/lpadmin -p ${line} -E
done
Or perhaps it would be possible to automatically start a printer when it is turned on / plugged in...