kartal
kartal

Reputation: 18086

quick print in c#

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

Upvotes: 0

Views: 1446

Answers (2)

Edward Leno
Edward Leno

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

quentin-starin
quentin-starin

Reputation: 26638

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

Upvotes: 4

Related Questions