Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
Old thread, but the option -o fit-to-page works.
I solved using the scaling option:
lpr -o scaling=100 image.jpg
Required, but never shown
6 years, 8 months ago
3 years, 8 months ago