As it turned out, whilst the previous patch works, there was one issue:
part of the data stream from the printer driver was lost!  This only
occurs when using the Content-Length fallback code, which I force on
with the previous patch.

Gory details:

For the fallback, the IPP backend copies the data to a temporary file,
and fetches the file size (using backendRunLoop).  Unfortunately,
earlier on in the code, it reads from stdin to a buffer, which is
forgotten about in the fallback case!  The end result was corruption of
printouts using PCL drivers.

I have now added yet another fix to the IPP backend to write this
initial data out to the temporary file and update the length
accordingly.  This version now prints correctly, as confirmed with hard
copy.

ThierryM and others with Livebox2 routers: could you please check that
this prints when nohttpchunking is enabled as above?

** Patch added: "Cumulative patch, including the data-loss patch for 
non-chunked output."
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/881843/+attachment/2589442/+files/ipp-patch-881843-all.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/881843

Title:
  CUPS IPP print to Novell servers error since 11.10 upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/881843/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to