Home > Software engineering >  Vc print issue
Vc print issue

Time:09-21

Consult a great god a question, I draw on the memory dc, dc fixed memory size, 1024 * 1448, for example, then the whole copy to the printer on the dc, due to the printer dc is bigger, more than 1024 * 1448, lead to print out a little blurred, is there any way to solve this?

CodePudding user response:

Use pDC - & gt; GetDeviceCaps (HORZRES) and pDC - & gt; GetDeviceCaps (VERTRES) to determine the size, rather than a fixed size

CodePudding user response:

My memory dc size is fixed, because the data above are according to the resolution of 1024 * 1448 to save

CodePudding user response:

Windows DC DC transfer printer to make a transformation, printed will certainly wrong,

CodePudding user response:

What do you know what you see is what you get?
To achieve what you see is what you get, put the graphics memory DC output to a printer, look like on the screen, must carry on the scale conversion

CodePudding user response:

Print preview right?
  • Related