PrinterSettings is in System.Drawing.dll in the namespace System.Drawing.Printing.
PrinterSettings settings = new PrinterSettings();
Console.WriteLine(settings.PrinterName);
Reference:
http://stackoverflow.com/questions/86138/whats-the-best-way-to-get-the-default-printer-in-net
No comments:
Post a Comment