Comment 12 for bug 881843

Revision history for this message
Robert Bradley (robert-bradley1) wrote :

Another update:

First, for the instructions I posted yesterday, you do in fact need to build the whole of CUPS for them to work.

Secondly, I did a bit of digging through Wireshark dumps last night, and found out that the Validate-Job calls were not the whole story. It turns out that CUPS 1.5 adds a document-format attribute to its print jobs. It appears to dig through the server response for supported types, and if it does not match a MIME type to that of the document, it assumed "application/octet-stream". This then got rejected by the server.

The patch attached here replaces that assumed value with NULL, which results in the attribute being skipped. This replicates the 1.4 behaviour, although we still get the complaints over IPP compliance. I also added a bit of debug-level logging around the document-format discovery area of the code.

ThierryM: would you be willing to try this new version and see if it prints for you?