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
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
Look at the static System.Drawing.Printing.PrinterSettings.InstalledPrinters property.
It is a list of the names of all installed printers on the system.
Try this:
foreach (string printer in System.Drawing.Printing.PrinterSettings.InstalledPrinters)
{
MessageBox.Show(printer);
}