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?


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

| improve this answer | |
  • 1
    Note that as of CUPS 2.1, the legacy option -o fitplot (CUPS 1.3) still seems to work. – Skippy le Grand Gourou Apr 23 '16 at 14:49
  • Doesn't work as of CUPS 2.3.0. – L29Ah Nov 8 '19 at 14:44

I solved using the scaling option:

lpr -o scaling=100 image.jpg
| improve this answer | |
  • Doesn't seem to work with lpr supplied by CUPS. – L29Ah Nov 8 '19 at 14:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.