Question Printing: get size of image in inches, not pixels

Mad Pat

New member
Joined
Jul 14, 2009
Messages
1
Programming Experience
1-3
I'm currently building a sales ticket printing application. The ticket would have an image (or logo) at the top, and the details (names and prices) to the sold products would be listed beneath this image. The application offers the ability to change this image at any given time. Any new image could however vary in height.

What would be the best way to define the image's size in terms of inches (or millimeters) instead of pixels? Is it possible to retrieve a printer's default resolution?
 

Latest posts

Back
Top