11

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 2

14

Old thread, but the option -o fit-to-page works.

2
  • 1
    Note 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
  • Doesn't work as of CUPS 2.3.0.
    – L29Ah
    Commented Nov 8, 2019 at 14:44
7

I solved using the scaling option:

lpr -o scaling=100 image.jpg
1
  • Doesn't seem to work with lpr supplied by CUPS.
    – L29Ah
    Commented Nov 8, 2019 at 14:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .