Job is stopped when printer is not ready in 1.3.10

Jo Hobbit jo.hobbit at gmail.com
Thu May 14 00:49:10 PDT 2009


> Hi,
>
> I use beh as a wrapper for the ipp-backend. I pull the trays of the printer and start a print job. Then version 1.3.9 and 1.3.10 work different.
>
> 1.3.9:
> return value of ipp-backend: 72057594037927935
> with beh the job is retried and without the ipp-backend waits until the printer is ready
>
> 1.3.10:
> return value of ipp-backend: 0
> job is stopped
>
> How can version 1.3.10 works the same as 1.3.9. Configuration is identical and ErrorPolicy retry-job is set

It seems this depends on the execution right of the backend. The ipp-backend has 755. If I reduce the rights to the default value of 700. It works like version 1.3.9 but I get the following message in
error_log:
D [14/May/2009:09:34:02 +0200] [Job 2500] Can't exec "/pms/lib/cups/backend/ipp": Permission denied at /pms/lib/cups/backend/beh line 412, <STDIN> line 139.

Wihtout the wrapper-script the job will stop even if ErrorPolicy retry-job is set
D [14/May/2009:09:43:27 +0200] [Job 2500] printer-uri = "ipp://printername:631/"
D [14/May/2009:09:43:27 +0200] [Job 2500] requesting-user-name = "oracle"
D [14/May/2009:09:43:27 +0200] [Job 2500] job-name = "12704210.pdf"
D [14/May/2009:09:43:27 +0200] Discarding unused printer-state-changed event...
N [14/May/2009:09:43:28 +0200] [Job 2500] Print file accepted - job ID 9.
D [14/May/2009:09:43:28 +0200] Discarding unused printer-state-changed event...
D [14/May/2009:09:43:29 +0200] Discarding unused job-progress event...
D [14/May/2009:09:43:29 +0200] Discarding unused printer-state-changed event...
D [14/May/2009:09:43:29 +0200] PID 21586 (/pms/lib/cups/backend/ipp) exited with no errors.
D [14/May/2009:09:43:29 +0200] [Job 2500] File 0 is complete.
E [14/May/2009:09:43:29 +0200] [Job 2500] Job stopped due to filter errors.
D [14/May/2009:09:43:29 +0200] Discarding unused printer-state-changed event...
D [14/May/2009:09:43:29 +0200] Discarding unused job-stopped event...





More information about the cups mailing list