Get a list of installed printers

using System.Drawing.Printing;
...
  
// Loop through the string collection of printers
foreach (string strPrinter in PrinterSettings.InstalledPrinters)
{
    // Show the name of the printer
    MessageBox.Show(strPrinter);
}

Comments

Popular posts from this blog

Convert XElement to DataTable

Enable mouse scroll-wheel in VB6

C# code to Check IE Proxy Settings