Re: [cups] turning off fit-to-page

Douglas Kosovic <[email protected]> Mon, 22 Jan 2024 15:51:45 +0000
Newsgroups gmane.comp.printing.cups.general
Message-ID <SYBP282MB26174C4223BEF7DC044F1EC587752@SYBP282MB2617.AUSP282.PROD.OUTLOOK.COM>
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

_______________________________________________
cups mailing list
[email protected]
https://lists.cups.org/mailman/listinfo/cups