Monday, May 24, 2010

How to send any documet to print on a default printer in C#?

I have a document - any kind of document (.PDF, .DOC, .TXT, .JPG, ...) - and I want to print it on a default printer. Can I print it out and how? (Note that I wan't to print the document, not it's binary representation.)





Some code/tutorial would also be nice.





Thanks.

How to send any documet to print on a default printer in C#?
You can use the System.Drawing.Printing namespace objects ..


No comments:

Post a Comment