Application.Printers Property

Access Developer Reference

Returns the Printers collection representing all the available printers on the current system. Read-only Printers collection.



expression A variable that represents an Application object.


The following example displays information about all the printers available on the current system.

Visual Basic for Applications
  Dim prtLoop As Printer

For Each prtLoop In Application.Printers
    With prtLoop
        MsgBox "Device name: " & .DeviceName & vbCr _
            & "Driver name: " & .DriverName & vbCr _
            & "Port: " & .Port
    End With
Next prtLoop

See Also