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