Object Model Reference : Classes : S : SystemPrinters : Properties : SystemPrinters.Default |
Property Default As Printer
Member of SystemPrinters
The Default property returns a read-only reference to the default printer.
The following VBA example displays the name of the default printer.
Sub Test() |
Dim Prn As Printer |
Set Prn = Printers.Default |
MsgBox "Your default printer is: " & Prn.Name |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.