Click here to Skip to main content
16,004,924 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I want give print facility in my project. Please give any effective code for the same. I am working in windows based application.
Posted
Updated 4-Feb-11 16:41pm
v2

You hardly need more than this: http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx[^].

The sample is simple and easy to follow.

—SA
 
Share this answer
 
Comments
Abhinav S 4-Feb-11 23:41pm    
MSDN is often the best link ;).
Sergey Alexandrovich Kryukov 4-Feb-11 23:55pm    
I agree. Well, it's generally more accurate and short.
When you recommend something else you did not test yourself you risk hitting some crap.
--SA
RaviRanjanKr 5-Feb-11 0:08am    
Nice Link SA
Espen Harlinn 5-Feb-11 13:27pm    
Reading the required documentation is always useful - obvious, but often forgotten 5+
In additin to SA's link, you can also view this[^].
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Feb-11 23:40pm    
Looks useful - a 5.
--SA
Abhinav S 4-Feb-11 23:41pm    
Thanks SA.
RaviRanjanKr 5-Feb-11 0:08am    
Nice Link Abhinav. my 5!
Espen Harlinn 5-Feb-11 13:28pm    
Nice and simple solution, 5+
Abhinav S 5-Feb-11 23:33pm    
Thanks Espen.
SA and Abhinav have given you perfect link in addition all of two link you can also go there[^] to learn how to print
 
Share this answer
 

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