printToFile

Set the name for the print output file.
[read/write property] printToFile([out, retval] BSTR *file) printToFile([in] BSTR file)
This property forces print-to-file and sets the name of the output file.

resetParams resets this to its default value, which is to print to the printer's default port.

VB:
pdf.printToFile = "c:\output.pcl"
resetParams