Previous Document Next Document

Object Model Reference : Classes : P : PrintSettings : Properties : PrintSettings.PPDFile


PrintSettings.PPDFile

Property PPDFile As String

Description

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.
VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.