Retrive Installed Printers from your System

1. Drag a Combobox.
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 = o

No comments:

Post a Comment