View Single Post
Old 09-09-2019, 05:19 AM   #4
The_Doc_Man
Happy Retired Curmudgeon
 
Join Date: Feb 2001
Location: Suburban New Orleans, LA, USA
Posts: 14,577
Thanks: 92
Thanked 1,682 Times in 1,560 Posts
The_Doc_Man is a splendid one to behold The_Doc_Man is a splendid one to behold The_Doc_Man is a splendid one to behold The_Doc_Man is a splendid one to behold The_Doc_Man is a splendid one to behold The_Doc_Man is a splendid one to behold The_Doc_Man is a splendid one to behold
Re: resize image and DPI

OK, here's what you can try.

First step: Find the printer. You do this from the application object.

https://docs.microsoft.com/en-us/off...cation.printer

You identify the printer from the .Printers collection. You can then control some things about that printer by twiddling the properties.

https://docs.microsoft.com/en-us/off...access.printer

It appears that you can use the .PrintQuality property to select settings.

https://docs.microsoft.com/en-us/off...r.printquality

Understand that for most printers, this is going to be limited to a few settings. Here are the typical settings available.

https://docs.microsoft.com/en-us/off...rintobjquality

Note that this doesn't get you 300 DPI unless the printer counts 300 DPI as acPRPQHigh (one of the available settings). So no guarantees. However, you can try it. Maybe it will work. Please come back and confirm that for us.
__________________
I'm a certified grandpa (3 times now) and proud of it.
Retired over one year and survived being home all day with the wife. She must really love me.
If I have helped you, please either click the thanks or click the scales.
The_Doc_Man is offline   Reply With Quote