Adjusting dpi for printer
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I want to give the user the opportunity to adjust the dpi before printing. I have overridden CPrintInfo and can get my CMyPrintInfo to display instead. I'm confused with the dpi in the DEVMODE structure. Is dmPrintQuality just the horizontal resolution? Can I set dmYResolution to be any value between 1 and pDC->GetDeviceCaps(LOGPIXELSY) or are there specific hardware dependant values? When I do a "GetDevMode()->dmPrintQuality = DMRES_DRAFT", nothing changes on the output. If anyone can shed some light on any of these issues, I'd be very grateful.