Best practice for setting "ErrorPolicy retry-job" on all defined print queues?
J.B. Nicholson-Owens
jbn at illinois.edu
Fri Jul 31 16:10:40 PDT 2009
I'd like to set:
ErrorPolicy retry-job
for all my print queues so that temporary network outages don't stop my print
jobs (eventually the network will be restored and my print jobs can pick up
where they left off).
Is the best way to do this via:
- a script which loops over each print queue and setting this with lpadmin(1)?
- setting this once in some class that matches all locally-defined print
queues? (Is there such a class?)
- some other method I'm unaware of? If so, what is that method?
The second option seems more reasonable to me. As I add and remove printers
that method would continue to work. If I have to loop over each print queue
and set this with lpadmin(1) I'm liable to forget to do that when I add a
printer and then wonder why failing jobs to that printer aren't automatically
being retried.
Thanks.
More information about the cups
mailing list