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?
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?