WinForms prints to default printer even if it's not available/connected

Posted by Valentein on Stack Overflow See other posts from Stack Overflow or by Valentein
Published on 2010-04-15T01:51:18Z Indexed on 2010/04/15 1:53 UTC
Read the original article Hit count: 478

Filed under:
|
|
|

How can I determine if printer is connected?

Typically this application prints to the default printer but in some cases that printer may not be available. If so I don't want the job sent to it's queue but rather printed to another available printer.

I understand the PinterSettings.InstalledPrinters property. Does PrintDocument.PrinterSettings.IsValid return false if a printer is not available?

Does WPF provide this kind of functionality?

My problem is different than Printing problem in C# windows app - Always prints to default printer

© Stack Overflow or respective owner

Related posts about winforms

Related posts about printing