2

I want to print an image with a size of 300x300 pixels, I've used this command
$ lpr -P Myprinter imagefile.png
The image was printed fit-to-page by default.

How can I print this image without scaling?

2

You have to configure the ppi of your printer using the ppi flag:

The ppi=value value is a number from 1 to 1200 specifying the resolution of the image in pixels per inch. An image that is 3000x2400 pixels will print 10x8 inches at 300 pixels per inch, for example. If the specified resolution makes the image larger than the page, multiple pages will be printed to satisfy the request.

more info: LPR Command-Line Printing and Options

  • I'll try and let you know. – Ram Mar 23 '16 at 17:10
  • Throwing "DPI" for search's sake… Another viable option is -o natural-scaling=XX, where XX is the expected scaling in %( from 1 to 800). – Skippy le Grand Gourou Sep 22 '17 at 14:22

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.