Import System.Drawing.Printing namespace in your application.
Add a DropDownList and change its name to printersList and write this below code on Form's load event handler.
private void Form1_Load (object sender, System.EventArgs e)
{
foreach (String printer in PrinterSettings.InstalledPrinters)
{
printersList.Items.Add (printer.ToString());
}
}
The DropDownList will show all printers available on your network.

Ajay BhaleraoPosted Jan 2, 2014, 11:02 PM
Hi your code does not recognize the USB printer
Sandeep KumarPosted Sep 16, 2011, 12:20 AM
Can i use this in my web application when i am using that in my web application its ony show server side printers name not from the local machine or client side .....
Pablo BlascoPosted Sep 9, 2010, 5:23 AM
How can i select a printerSettings by the printer name thanks
Pablo BlascoPosted Sep 9, 2010, 5:15 AM
I have an xml cfg file.This file contains the printer name.How can i select this printer??? thanks
clarkPosted Mar 25, 2010, 5:59 PM
Hello Mahesh, it appears that this block of code does a great job of enumerating all printers that are configured on the local machine, but does not find all printers available on the network.
chandra sekharPosted Feb 13, 2008, 6:37 AM
enter number in text box then display that number of drop down boxes in asp.net
Nirav PatelPosted Jun 8, 2007, 9:31 AM
Hi have tried your code, but I am not able to get my network printers in my web application.