Comment 11 for bug 1002699

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Uploaded a fixed package for Precise into -proposed. As soon as it gets approved please install it and test it. We will need your test result to make the package an official update for Precise. We will announce the availability of the package and give installation instructions in a later comment here.

For the SRU team: A debdiff is attached. Upstream version 4.0.16 differs from 4.0.15 only by two one-line fixes in the code.

To reproduce without having the appropriate printer (foo2zjs must be installed):

cupsctl FileDevice=yes
cupsctl LogLevel=debug
lpadmin -p test -E -v file:/tmp/printout -m foo2zjs:0/ppd/foo2zjs/Xerox-Phaser_6115MFP.ppd
lpoptions -p test -l
lp -d test -o Duplex=DuplexNoTumble -o ColorMode=ICM ~/.bashrc

"lpoptions -p test -l" shows that ColorMode is Monochrome and Duplex is None (default settings). With the current package the "lp" command produces a monochrome printout without duplex. You can see it in the error_log. Look at the lines with "[Job <job number>]" in it. The job with the current (buggy) package has, after the "File: <STDIN>" line, lines with "Option: ColorMode=Monochrome" and "Option: Duplex=None", the job with the proposed (fixed) package has "Option: ColorMode=ICM" and "Option: Duplex=DuplexNoTumble" instead, so the command-line supplied options are obeyed with the new package.