Reputation: 18086
how can I print quickly without show print dialog just click on button and print in default printer ?
Upvotes: 0
Views: 1446
Reputation: 6327
I have not printed in WPF, but I found the following (maybe it will help?):
http://www.switchonthecode.com/tutorials/printing-in-wpf
Upvotes: 1
Reputation: 26638
For WinForms, use the PrintDocument class and do not specify a printer, then it will print to the default printer.
Upvotes: 4