Tuesday, August 13, 2013

Display Printers

Display Printers

Get Installed Local Printer


Here is the simplest code to retrieve all printer names on a local computer programmatically.

In Visual Basic
Imports System.Drawing.Printing

'[...]
For index1 = 0 To PrinterSettings.InstalledPrinters.Count
      MsgBox(PrinterSettings.InstalledPrinters.Item(index1))
Next



No comments:

Post a Comment