How can I specify "fit to page" when printing on the command line with lpr?
16,717
Solution 1
I solved using the scaling
option:
lpr -o scaling=100 image.jpg
Solution 2
Old thread, but the option -o fit-to-page
works.
Related videos on Youtube
Author by
Joril
Updated on September 18, 2022Comments
-
Joril almost 2 years
I'm trying to print an image from the command line, using
lpr
, but it ends up printing 4 pages instead of just one. Is there a way to tell lpr to fit the image to the page? -
Skippy le Grand Gourou about 8 yearsNote that as of CUPS 2.1, the legacy option
-o fitplot
(CUPS 1.3) still seems to work. -
L29Ah over 4 yearsDoesn't seem to work with lpr supplied by CUPS.
-
L29Ah over 4 yearsDoesn't work as of CUPS 2.3.0.