Previous Document Next Document

Object Model Reference : Classes : P : Printer : Properties : Printer.PostScriptEnabled


Printer.PostScriptEnabled

Property PostScriptEnabled As Boolean

Description

Member of Printer

The PostScriptEnabled property returns whether a printer can print PostScript.

The PostScriptEnabled property returns a read-only value.

VBA example

The following VBA example displays a message box for each printer that can print PostScript.

Sub Test()
 Dim intCounter As Integer
 Dim Prn As Printer
  For intCounter = 1 To Printers.Count
   Set Prn = Printers(intCounter)
    If Prn.PostScriptEnabled = True Then
     MsgBox "The " & Prn.Type & " is able to print PostScript."
    End If
  Next intCounter
 Set Prn = Nothing
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.