Sunday, 25 December 2011

Get List Of All Printers


To Getting List of All Printers First of all add a namespace
System.Drawing.Printing

use Foreach Loop:

foreach(string printer in PrinterSettings.InstalledPrinters)
{
Combobox1.Items.Add(Printer.ToString());
}

using this you get list of all printer install on your system

No comments:

Post a Comment