CDialog printer resolution
-
Hi Folks! I'm trying to print a CDialog to a printer CDC. Without any scale conversion, it's way to small. So I use the CWnd::Print function to draw to a bitmap, and StretchBlt() it onto the printerDC. It works, but the resolution of the text is horrible. How can I get a CDialog to print at a higher resolution? If it's not too stupid a question, I'd be grateful for some help. Jonnie
-
Hi Folks! I'm trying to print a CDialog to a printer CDC. Without any scale conversion, it's way to small. So I use the CWnd::Print function to draw to a bitmap, and StretchBlt() it onto the printerDC. It works, but the resolution of the text is horrible. How can I get a CDialog to print at a higher resolution? If it's not too stupid a question, I'd be grateful for some help. Jonnie
-
Printer page has more pixels than dialog, I guess your problem is not resolution but pixelization. Try to make smooth magnification using SetStretchBltMode.
Thanks. Doesn't seem to be the solution though. Isn't it possible to pass the CDialog a device context with a higher resolution, and get it to draw it (avoiding the rasterization which occurs when stretching)? Jonnie