Change CUPS default printer error policy

Solution 1:

There's a Feature Request that was Closed with Resolution to CUPS 1.3 for exactly this behavior. Link to the CUPS bug tracker: http://www.cups.org/str.php?L1871

I found no documentation to support this behavior in CUPS online documentation, but the documentation in the CUPS 1.5.2 source tarball I downloaded indicates that a global 'ErrorPolicy' declaration would work from the cupsd.conf config file.

Excerpt from the cupsd.conf documentation in Ubuntu CUPS 1.5.2:

CUPS 1.3/Mac OS X 10.5

ErrorPolicy

  Examples

     * ErrorPolicy abort-job
     * ErrorPolicy retry-job
     * ErrorPolicy stop-printer

  Description

   The ErrorPolicy directive defines the default policy that is used when a
   backend is unable to send a print job to the printer.

   The following values are supported:

     * abort-job - Abort the job and proceed with the next job in the queue
     * retry-job - Retry the job after waiting for N seconds; the cupsd.conf
       JobRetryInterval directive controls the value of N
     * retry-this-job - Retry the current job immediately and indefinitely.
     * stop-printer - Stop the printer and keep the job for future printing;
       this is the default value

(Note: Documentation Copyright of Apple Inc. and Reformatted to be readable.)