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?
2 Answers
Old thread, but the option -o fit-to-page
works.
-
1Note that as of CUPS 2.1, the legacy option
-o fitplot
(CUPS 1.3) still seems to work. Commented Apr 23, 2016 at 14:49 -
I solved using the scaling
option:
lpr -o scaling=100 image.jpg