API Documentation > CorelDRAW > 2025-v26 > PrintSettings > IPrnVBAPrintSettings
PrintSettings.PPDFile property
Specifies the PPD file name
Syntax:
Property Get PPDFile() As String
Property Let PPDFile(ByVal Value As String)
Remarks:
The PPDFile property specifies the name of the PPD (Postscript Printer Description) file. For this property to be used, the PrintSettings.UsePPD property must be specified as True.
Examples:
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