printing options

Michael Sweet mike at easysw.com
Tue Dec 21 08:32:08 PST 2004


Anonymous wrote:
> ...
> by the way, i noticed that if you explicitly set the landscape option
> and the scaling option to 100% (lpr -o landscape -o scaling=100
> <file>), cupsWidth and cupsHeight values (from the raster header) are
> both equal to the larger dimension (ie, 6000x6000 for a 10x3 image,
> instead of 6000x1800). this results in a "square" raster image much
> larger than my papersize. is this a bug or is this the designed
> behaviour? how should i handle this scenario?

That shouldn't happen.  If you are using a standard (fixed) page
size, then the raster image will always be the same size.  If you
use a custom size (via CustomPageSize and a PageSize=Custom.WxH)
then the image filter will treat the custom size as a maximum size
and resize the page accordingly.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list