Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
have a good time

I work with visual c++ 2010
how can i print an image without show print page setup?
with CImage and CDC.

thank you.
Posted

1 solution

Use the PrintDlgEx()[^] function to get a DC to the printer, which you then draw your image onto. There is probably something slightly simpler in MFC but it's a while since I used those classes ...
 
Share this answer
 
Comments
[no name] 1-Sep-12 9:26am    
thank you mr

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900