Fortunately, CUPS was cleanly programmed and so the patch (attached) is
tiny. I had to switch the default only on one place (in cupsd) and in
both the web interface and the command line interface ("lpadmin") the
patched cups defaults to the "Retry Job" error policy.

I have tested the patch on my Mandriva test box, but it should work the
same way with any other distro, as it applies to the CUPS code only.

A better solution would be adding a directive "DefaultErrorPolicy" to
cupsd.conf, so distros can set this to "Retry job" in their desktop
versions and "Stop printer" in their enterprise server versions.


** Attachment added: "Switches default error policy for new CUPS queues to 
"Retry Job"."
   
http://librarian.launchpad.net/4441623/cups-1.2.3-default-error-policy-retry-job.patch

-- 
printer always goes to pause and cannot be resumed
https://launchpad.net/bugs/41313

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to