[MOD] STR #4047: Sending jobs to a Windows 2003 Server fails

William Moore <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

When a job is sent to a Windows 2003 Print Server the job never completes.
Instead it stops on status "Waiting for job to complete". The response
from the Windows machine is "Get-Job-Attributes: client-error-not-possible
(Client: (404) Not Possible)".

On version 1.4 this was recognised as an error and the print queue could
be allowed to continue by setting the printer error policy (on CUPS) to
abort-job. In version 1.5, this is not recognised as an error, so the
abort-job policy is never invoke.

Below is a debug log from a job which experienced this problem.

D [14/Mar/2012:09:30:36 +0100] PID 44986
(/usr/local/libexec/cups/filter/foomatic-rip-hplip) exited with no errors.
D [14/Mar/2012:09:30:36 +0100] [Job 32902] Read 16384 bytes...
D [14/Mar/2012:09:30:36 +0100] [Job 32902] Read 16384 bytes...
D [14/Mar/2012:09:30:36 +0100] [Job 32902] Read 16384 bytes...
D [14/Mar/2012:09:30:36 +0100] [Job 32902] Read 10350 bytes...
D [14/Mar/2012:09:30:36 +0100] [Job 32902] Print-Job: successful-ok
(successful-ok)
I [14/Mar/2012:09:30:36 +0100] [Job 32902] Print file accepted - job ID
66.
D [14/Mar/2012:09:30:36 +0100] [Job 32902] Set job-printer-state-message
to "Print file accepted - job ID 66.", current level=INFO
D [14/Mar/2012:09:30:36 +0100] Discarding unused job-progress event...
D [14/Mar/2012:09:30:36 +0100] Discarding unused printer-state-changed
event...
I [14/Mar/2012:09:30:36 +0100] [Job 32902] Waiting for job to complete.
D [14/Mar/2012:09:30:36 +0100] [Job 32902] Set job-printer-state-message
to "Waiting for job to complete.", current level=INFO
D [14/Mar/2012:09:30:36 +0100] Discarding unused job-progress event...
D [14/Mar/2012:09:30:36 +0100] Discarding unused printer-state-changed
event...
D [14/Mar/2012:09:30:37 +0100] [Job 32902] Get-Job-Attributes:
client-error-not-possible (Client: (404) Not Possible)
D [14/Mar/2012:09:30:37 +0100] [Job 32902] Get-Printer-Attributes:
successful-ok-ignored-or-substituted-attributes
(successful-ok-ignored-or-substituted-attributes)
D [14/Mar/2012:09:30:37 +0100] [Job 32902] Get-Job-Attributes:
client-error-not-possible (Client: (404) Not Possible)
D [14/Mar/2012:09:30:38 +0100] [Job 32902] Get-Job-Attributes:
client-error-not-possible (Client: (404) Not Possible)
D [14/Mar/2012:09:30:39 +0100] [Job 32902] Get-Job-Attributes:
client-error-not-possible (Client: (404) Not Possible)
D [14/Mar/2012:09:30:41 +0100] [Job 32902] Get-Job-Attributes:
client-error-not-possible (Client: (404) Not Possible)
D [14/Mar/2012:09:30:44 +0100] [Job 32902] Get-Job-Attributes:
client-error-not-possible (Client: (404) Not Possible)

Link: http://www.cups.org/str.php?L4047
Version: 1.5.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.