PrinterSettings.InstalledPrinters
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Windows.Forms
public class GetInstalledPrinters
public Shared Sub Main
Dim PrinterName As String
For Each PrinterName In System.Drawing.Printing.PrinterSettings.InstalledPrinters
Console.WriteLine(PrinterName)
Next
End Sub
End class
Related examples in the same category