Object Model Reference : Classes : P : PrintSettings : Properties : PrintSettings.PPDFile |
Property PPDFile As String
Member of PrintSettings
The PPDFile property specifies the name of a PostScript Printer Description (PPD) file.
• |
For this property to be used, the UsePPD property must be set to True.
|
The following VBA example prints the active document by using the specified PPD file.
Sub Test() |
With ActiveDocument.PrintSettings |
.UsePPD = True |
.PPDFile = "C:\WINNT4\system32\spool\drivers\w32x86\HPLJ5P_1.PPD" |
End With |
ActiveDocument.PrintOut |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.