Comment 65 for bug 973270

Revision history for this message
Sérgio Almeida (mephx-x) wrote :

I have read a few dozens of bug reports regarding this and similar issues always with the same message:

"Unable to add document to print job"

All bug reports are misleading the real bug fixes.

I can confirm that #43 is not an accurate explanation for what is happening and is a lame explanation. (sorry, had to)

server: running an ubuntu 12.04 (upgraded from 10.04) server with cups 1.5.3-0ubuntu1.

client1: running an ubuntu 12.04 (fresh install) client with cups 1.5.3-0ubuntu1.
client2: running an ubuntu 12.04 (upgraded since 8.04) client with cups 1.5.3-0ubuntu1.
client3: running an ubuntu 12.04 (upgraded since 9.04) client with cups 1.5.3-0ubuntu1.

all clients share the same cupsd.conf and printers.conf. all clients on the same network.

server is connected to printer through jetdirect. test page from cups is ok.

all clients connects to cups server using http://server:631/printers/printer

server requires no authentication for printing, all the internal network can use this cups server.

client1: (FAILS)

D [21/Jun/2012:17:28:04 +0100] PID 9736 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [21/Jun/2012:17:28:04 +0100] PID 9737 (/usr/lib/cups/filter/hpcups) exited with no errors.
D [21/Jun/2012:17:28:04 +0100] [Job 29] Send-Document: cups-upgrade-required (Upgrade Required)
E [21/Jun/2012:17:28:04 +0100] [Job 29] Unable to add document to print job.
D [21/Jun/2012:17:28:04 +0100] [Job 29] Set job-printer-state-message to "Unable to add document to print job.", current level=ERROR
I [21/Jun/2012:17:28:04 +0100] [Job 29] Waiting for job to complete.

client2: (SUCCESS)

D [21/Jun/2012:18:25:45 +0100] PID 15529
(/usr/lib/cups/filter/gstoraster) exited with no errors.
D [21/Jun/2012:18:25:45 +0100] PID 15530 (/usr/lib/cups/filter/hpcups)
exited with no errors.
D [21/Jun/2012:18:25:45 +0100] [Job 575] Send-Document: successful-ok
(successful-ok)
I [21/Jun/2012:18:25:45 +0100] [Job 575] Waiting for job to complete.

client3: (SUCCESS)

D [21/Jun/2012:18:16:57 +0100] [Job 462] PID 28307 (pdftops) exited with no errors.
D [21/Jun/2012:18:16:57 +0100] [Job 462] PID 28308 (pstops) exited with no errors.
D [21/Jun/2012:18:16:57 +0100] PID 28305 (/usr/lib/cups/filter/pdftops) exited with no errors.
D [21/Jun/2012:18:16:57 +0100] [Job 462] Send-Document: successful-ok (successful-ok)
I [21/Jun/2012:18:16:57 +0100] [Job 462] Waiting for job to complete.

#61 is not a solution for the problem.

I can also confirm that this bug happens exactly the same way in a macbook air with cups 1.5.something with exactly the same server. (Sorry I have no logfile).

Therefore, I conclude from my readings:

"Printers don't respect ipp."

"Then I'm not using ipp for printer comm."

"Cups servers can't communicate with each other using the same ipp version."

"Cups doesn't respect it's own ipp."

My opinion: This is a cups bug.

worth checking: (with despise)

http://www.cups.org/str.php?L4125+Qversion:1.5

Sorry for the ranting style comment. Sometimes it's the only way. Hope it helps.