~ubuntu-branches/ubuntu/lucid/foomatic-filters/lucid

Viewing all changes in revision 40.

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2009-03-31 00:19:49 UTC
  • Revision ID: james.westby@ubuntu.com-20090331001949-ibs5d3nd9sbyykzm
Tags: 4.0.0-0ubuntu9
debian/patches/23_prioritize-ppd-options-over-cups-options-on-command-line-fix-custom-options.patch:
If there are printing system options (like "media" of CUPS) and PPD
options (like "PageSize") on the command line and they do the same thing 
(like choosing the paper size) let the setting of the PPD option always
have priority, as this is expected for a CUPS filter (see CUPS STR #3148).
This is done by treating the printing system options before the PPD 
options (LP: #338999).
Custom page sizes were not accepted if one of the three parameters
"WidthOffset", "HeightOffset", or "Orientation" of the "PageSize" option
in the PPD file did not allow 0 as value.
Made error messages for the parameters of custom options more readable.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: