How to print an image at a certain resolution
Posted: Mon Apr 21, 2008 9:18 pm
Hi everyone,
Here's the scenario. I have a scanned image of a letter size form and I'm writing a PHP script that fills in this form. My problem is this, I scanned the image in at 300 dpi and saved it as a PNG file. I've finished the programming to fill in the form and display the filled in form. My problem now is printing the form. The image is 2892 x 2358 (H x W) which should print out as 9.64" x 7.86" however I'm unable to get Windows or any of the browsers i've tried (IE 6, IE 7, Firefox, Opera) to print it out properly. I think they all assume the image is 72dpi and attempt to print it out as such, resulting in an oversized printout.
I'm stuck. Any ideas?
Here's the scenario. I have a scanned image of a letter size form and I'm writing a PHP script that fills in this form. My problem is this, I scanned the image in at 300 dpi and saved it as a PNG file. I've finished the programming to fill in the form and display the filled in form. My problem now is printing the form. The image is 2892 x 2358 (H x W) which should print out as 9.64" x 7.86" however I'm unable to get Windows or any of the browsers i've tried (IE 6, IE 7, Firefox, Opera) to print it out properly. I think they all assume the image is 72dpi and attempt to print it out as such, resulting in an oversized printout.
I'm stuck. Any ideas?