[cups.bugs] [HIGH] STR #3148: Printing options are given in the wrong order on the filter command line
Lars Uebernickel
larsuebernickel at gmx.de
Mon Mar 30 09:33:50 PDT 2009
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
When starting a job with the PageSize option like this
lp -o PageSize=Custom.4.125x9.5in <file>,
CUPS appends a "media=letter" (the default setting) to the filter command
line. This causes filters (foomatic-rip in particular) to overwrite the
PageSize option, as the media option comes *after* it in the arguments.
This breaks printing with custom page size.
When manually prepending the media option
lp -o media=letter -o PageSize=Custom.4.125x9.5in <file>,
CUPS does not insert "media" again and printing works correctly.
I think CUPS should always prepend default options, to avoid such
conflicts altogether.
Original source of this bug:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/338999
Link: http://www.cups.org/str.php?L3148
Version: 1.3.9
More information about the cups-devel
mailing list