Friday, December 06, 2013

Windows 7 client Printer Queue fails when printing to CUPS Server via IPP

A short entry, since if you have setup a cups server and you have set up the Windows 7 clients to print to it via IPP you may find the windows printer spooler some times plays up. We had this for a while with our setup and I could not find a answer. It looks like Microsoft really tries hard for it software to only work with Windows.

I bet there is code inside windows which says if talking to non-windows system add bugs!!

Anyway if you get any of the following in your cups logs:
  • Print-Job client-error-bad-request
  • windows-ext client-error-bad-request
  • Print-Job client-error-bad-request
  • Returning IPP client-error-bad-request for windows-ext
  • Missing printer-uri, job-uri, or ppd-name attribute
You see the following from windows:
  • Print job fails. 
  • Event is logged in the Operation Log that shows that the print job was successful. However, the size of the print job is displayed as 0 bytes.
  • tmp files appearing in printer spool
 You need a hot fix which has been out since November 14, 2012.

http://support.microsoft.com/kb/2769359
KB2769359 : Print job fails when the printer driver isolation feature is set to isolated or shared mode in Windows 7 or Windows Server 2008 R2
 
Hope this helps