convertToPSFile

Convert a PDF file to a PostScript file.
convertToPSFile([in] int firstPage, [in] int lastPage, [in] BSTR psFileName)
This function converts a range of pages from the PDF file to a PostScript file.

Any subset of pages can be selected by specifying the first and last page numbers. See the numPages property. This function throws an error if it fails - if it cannot create the requested file or printing is prohibited by this PDF file.

VB6:
pdf.loadFile "c:/test/file.pdf" nPages = pdf.numPages pdf.convertToPSFile 1, nPages, "c:/test/file.ps"
convertToPSStream