[cups.general] cups does not respect error policy
Michael Sweet
msweet at apple.com
Wed Jan 16 06:44:41 PST 2013
Filter errors are always treated differently - we just abort the job and move on.
On 2013-01-16, at 2:18 AM, Jan.Dreyer at bertelsmann.de wrote:
> Hi,
>
> yast made no difference, but I found out sothing else:
> On errors when calling _backends_ the error policy is still respected, and also with errors running filters _from_ a backend.
> But when calling a pre-filter, the error policy does not work. Just the job itself gets stopped.
>
> It's no showstopper for us; maybe we can modify the filter to disable the printerqueue from within (don't "exit 1" but "cups-disable"). Nevertheless this is not the behavior that is documented. The documentation does not difference between "normal" filters and prefilters.
>
> Regards
> Jan Dreyer
> IT Administrator / Operations Team / M-IT OMS
>
>
> -----Ursprüngliche Nachricht-----
> Von: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] Im Auftrag von Dreyer, Jan, M-IT OMS
> Gesendet: Mittwoch, 16. Januar 2013 08:47
> An: cups at easysw.com
> Betreff: Re: [cups.general] cups does not respect error policy
>
> Hi Johannes
>
> Thanks for your explanations. Here the requested information:
>
> ---
> # find /etc/cups | xargs grep -i ErrorPolicy
> /etc/cups/printers.conf.O:ErrorPolicy stop-printer
> /etc/cups/printers.conf.O:ErrorPolicy stop-printer
> /etc/cups/printers.conf.O:ErrorPolicy stop-printer
> /etc/cups/printers.conf:ErrorPolicy stop-printer
> /etc/cups/printers.conf:ErrorPolicy stop-printer
> /etc/cups/printers.conf:ErrorPolicy stop-printer
> ---
>
> ---
> # grep -i '^DeviceURI' /etc/cups/printers.conf
> DeviceURI lpd://bd-p30254.mydomain.net/LPT1
> DeviceURI unc://localhost/
> DeviceURI socket://bd-p30254.mydomain.net
> ---
>
> Of course I already studied the documentation. I didn't know about the "nutshell" document though.
>
> I also didn't try yast for configuring the cup services. I will give it a try now, maybe SuSE has made some modifications that prevented my changes to load. Will keep this list informed.
>
> Regards
> Jan Dreyer
> IT Administrator / Operations Team / M-IT OMS
> -----Ursprüngliche Nachricht-----
> Von: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] Im Auftrag von Johannes Meixner
> Gesendet: Dienstag, 15. Januar 2013 16:00
> An: Mirror of cups.general Newsgroup
> Betreff: Re: [cups.general] cups does not respect error policy
>
>
> Hello,
>
> On Jan 14 11:07 Jan.Dreyer at bertelsmann.de wrote (excerpt):
>> ... cups 1.3.9 (SuSE Linux Enterprise Server default version) ...
>> After trying to set ErrorPolicy to "abort-job" (which worked)
>> we switched back to "stop-printer" (should be default).
>> But cups does not respect the new change in error policy.
>> Instead it now aborts each job, whatever value we tried to use.
>
> I do not remember any such issue report from any user,
> therefore I assume it is no bug in CUPS.
>
> What does
> # find /etc/cups | xargs grep -i ErrorPolicy
> result?
>
> What does
> # grep -i '^DeviceURI' /etc/cups/printers.conf
> result?
>
> The ErrorPolicy in /etc/cups/cupsd.conf specifies only the
> default ErrorPolicy when there is no ErrorPolicy setting
> in /etc/cups/printers.conf see
> http://www.cups.org/documentation.php/doc-1.3/ref-cupsd-conf.html
> versus
> http://www.cups.org/documentation.php/doc-1.3/ref-printers-conf.html
>
> Regarding changing CUPS config files manually,
> see "Command-line Tools" at
> http://en.opensuse.org/SDB:CUPS_in_a_Nutshell
>
>
> Kind Regards
> Johannes Meixner
> --
> SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
> HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list