[cups.bugs] [LOW] STR #3009: ambiguous description of "-o scaling=NN" option

martin.pitt.canonical martin.pitt at canonical.com
Sun Nov 16 08:57:11 PST 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

>From http://bugs.debian.org/501312:
--------- snip ------
The lp(1) manpage says:

       -o scaling=number
          Scales image files to use up to number percent of the page.
          Values greater than 100 cause the image file to be printed
          across multiple pages.

The "percent of the page" slightly implies "percent of the page area."
So -o scaling=25 would, on this interpretation, scale an image to half
the height and half the width of the page.

I tried a couple experiments here by printing two jpegs on a HP PSC
2710.  It seems that the 25 is really a percent of either the page
height or the width, so the image took up about 1/16th of the page.
--------- snip ------

If the scaling option is really meant to give an area percentage, its
implementation needs to be fixed. However, my feeling is that most people
actually do prefer giving a scaling factor which applies to both
dimensions, so in this case the manpage just needs some update.

Thanks, Martin

Link: http://www.cups.org/str.php?L3009
Version: 1.3.9





More information about the cups-devel mailing list