[cups] turning off fit-to-page

Douglas Kosovic doug at uq.edu.au
Mon Jan 22 07:51:45 PST 2024


On 2024-01-04 09:32, Gary Dale wrote:
> I will also note that running "lpoptions -l" never shows the 
> "fit-to-page" setting but it does confirm that my default paper size 
> is "letter". Nor is there a "fit to page" setting through the CUPS 
> printer management page (<servername>:631). However, I used to print 
> unscaled documents to this printer (just not through Gwenview which 
> doesn't have a print full size & crop option, which was why I 
> originally started trying to use lp).
>
> Is there a way I can get this to work?

I suspect the old "-o fit-to-page=off" option has been superseded by the "-o print-scaling=none" standard IPP Everywhere option.

Extract from https://github.com/OpenPrinting/cups-filters/issues/108 :

"none: do not scale the document to fit the requested media size. If the document is larger than the requested media, center and clip the resulting output. If the document is smaller than the requested media, center the resulting output."

There is more discussion about the "-o print-scaling=none" option here with JPEG images:
https://github.com/OpenPrinting/cups-filters/issues/362


Cheers,
Doug



More information about the cups mailing list