Comment 31 for bug 463059

Revision history for this message
twowheeler (cdhassell) wrote :

Don't know if this deserves its own bug or not, but the fix here does not do the whole job for me. I have the new foomatic-filters (4.0.3-0ubuntu2.1) installed but still get the behavior described above when printing from windows. Set up is as follows -

A karmic desktop (P4, 2.4GHz, 1GB ram) with local printer Epson Stylus CX5200 installed in CUPS/gutenprint.
Wireless network supporting one karmic laptop and one vista laptop.

Using the lab01.pdf test file posted here, local printing takes about 30 seconds. Remote printing from the karmic laptop takes only a few seconds more. Remote printing from the vista machine takes 5 minutes. Watching a top screen, I can see that when the print job from karmic is running, ghostscript is not called. Cups runs, then gutenpr runs, then it prints. The job coming in from the windows machine however calls gs, which consumes 100% of CPU for 5 minutes. I grabbed the command line from ps:

lp 6143 100 2.7 40788 28152 ? R 10:29 0:35 gs -dSAFER -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dDoNumCopies -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile=- -dSAFER -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dDoNumCopies -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -c .setpdfwrite -f -

This is after I restarted cups on the server and rebooted the laptop. We are not running samba here, just printing direct to cups across the network.