Al Programming
Free source code programming in C#, VB.Net, Java, SQL
Search This Blog
Thursday, April 24, 2014
Gets the default printer C#
C#
>
Printing
> PrinterSettings >
IsDefaultPrinter
Gets
the default printer.
Example
PrintDocument
printDoc =
new
PrintDocument
();
if
(printDoc.PrinterSettings.IsDefaultPrinter)
{
MessageBox
.Show (printDoc.PrinterSettings.PrinterName);
}
Newer Post
Older Post
Home