tags:

views:

67

answers:

2

how can I print quickly without show print dialog just click on button and print in default printer ?

+3  A: 

For WinForms, use the PrintDocument class and do not specify a printer, then it will print to the default printer.

qstarin
+1 PrintDocument.Print looks like it will do the trick.
Edward Leno
+1  A: 

I have not printed in WPF, but I found the following (maybe it will help?):

http://www.switchonthecode.com/tutorials/printing-in-wpf

Edward Leno