Best practice for setting "ErrorPolicy retry-job" on all definedprint queues?
J.B. Nicholson-Owens
jbn at illinois.edu
Sat Aug 1 00:25:24 PDT 2009
J.B. Nicholson-Owens wrote:
> - a script which loops over each print queue and setting this with
> lpadmin(1)?
My mistake: I meant, of course, lpadmin(8); something like:
for printer in $(lpstat -a | awk '{ print $1 }')
do
lpadmin -p "${printer}" -o printer-error-policy=retry-job
done
Thanks for any advice you can offer.
More information about the cups
mailing list