convertToPSStream

Convert a PDF file to a stream.
convertToPSStream([in] int firstPage, [in] int lastPage, [in] IUnknown *streamObj)
This function converts a range of pages from the PDF file to a an OLE IStream object.

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 writing to the stream fails or printing is prohibited by this PDF file.

VB:
Dim stream As IStream .... pdf.convertToPSStream(1, nPages, stream)
convertToPSFile