Benoît SAENE
May 12th, 1999, 02:32 AM
I'm working with Visual C++ 1.52.
I want to print icons. When I use the DrawIcon (SDK or MFC) function with a device context for my printer, the icon is printed in a very little size (according to my printer resolution).
When I use the SetWindowExt and SetViewportExt functions, I get a General Protection Fault when drawing the icon with HP5SI driver.
Can anybody explain me how to print an icon with an acceptable size ?
I want to print icons. When I use the DrawIcon (SDK or MFC) function with a device context for my printer, the icon is printed in a very little size (according to my printer resolution).
When I use the SetWindowExt and SetViewportExt functions, I get a General Protection Fault when drawing the icon with HP5SI driver.
Can anybody explain me how to print an icon with an acceptable size ?