Retrive Installed Printers from your System

Santosh4u
Posted by Santosh4u under VB.NET category on | Views : 2455
1. Drag a Combobox Like (ComboBox1).
2.Write the following code in Page Load.
For Each Printer As String In System.Drawing.Printing.PrinterSettings.InstalledPrinters
ComboBox1.Items.Add(Printer)
Next
ComboBox1.SelectedIndex = 0


Descrition:
All the Installed Printers from your system will bind to the ComboBox1

Comments or Responses

Login to post response