Object Model Reference : Classes : P : PrintSettings : Properties : PrintSettings.Printer |
Property Printer As Printer
Member of PrintSettings
The Printer property returns a Printer value, which is reference to the current printer.
The following VBA example displays the name of the current printer.
Sub Test() |
MsgBox "The current printer is:" & vbCr & _ |
ActiveDocument.PrintSettings.Printer.Name |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.