tags:

views:

92

answers:

2

hi

i need to get the list of all printers that connect to computer

how i can do it in C# - Winform

thank's in advance

+2  A: 

Look at the static System.Drawing.Printing.PrinterSettings.InstalledPrinters property.

It is a list of the names of all installed printers on the system.

Rune Grimstad
+4  A: 

Try this:

foreach (string printer in System.Drawing.Printing.PrinterSettings.InstalledPrinters)
        {
            MessageBox.Show(printer);
        }
Jojo Sardez