Previous Document Next Document

Object Model Reference : Classes : S : SystemPrinters : Properties : SystemPrinters.Default


SystemPrinters.Default

Property Default As Printer

Description

Member of SystemPrinters

The Default property returns a read-only reference to the default printer.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.