Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to print an image from the command line, usign 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?

share|improve this question
up vote 3 down vote accepted

I solved using the scaling option:

lpr -o scaling=100 image.jpg
share|improve this answer

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

share|improve this answer
    
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 at 14:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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