I have a script that runs every minute that brings up any downed print queues. The script has been running for months without any problems. This morning, however, someone wondered if there is the possibility that a print queue brought back up could cause a print job that was interrupted to start all over again. The printer is a network printer. The script follows. AIX 5.3. I'm giving this 500 points because there is some urgency to this matter. Please let me know if any further information is required.
# Script to restart DOWN print queues
enq -As | grep "DOWN" | cut -f 1 -d " " | while read ln
enable $ln > /dev/null 2> /dev/null