The Printer Object : Printer « Windows API « VBA / Excel / Access / Word






The Printer Object

 
Private Sub cmdPrinterObject_Click()
    Dim prt As Printer

    Set prt = Printers(0)

    Debug.Print prt.DeviceName 
    Debug.Print prt.Port
    Debug.Print prt.ColorMode
    Debug.Print prt.Copies
End Sub

 








Related examples in the same category

1.The Printers Collection
2.Loop through all printer
3.Get default printer information
4.Modify Printer Settings