This script is created to discover STOPPED printers in the CUPS system. Broken printers at a large enterprise could be a common problem. When CUPS cannot connect to the unit for a while (because somebody turned it off) it disables the
unit's queue automatically.
- Download the package (includes the script and the crontab fragment)
- copy the script to /usr/local/sbin
- copy the crontab fragment to /etc/cron.d (may need cron restart)
- set up an email alias on the cups server for yourself so messages sent to root will end up in your inbox
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.