New Forum | Previous | Next | (P-PDF) Developers
Topic: TEMP File not deleted after print
Conf: (P-PDF) Developers, Msg: 66626
Date: 6/11/2002 11:56 PM
I'm using the Acrobat library (API) to print PDFs to various printers. After the PDF has been printed, the temp file created during the print process remains in the C:\temp directory. What's the cleaned was to remove these temp file (Z*.tmp).
Here is part of code i'm using.
Set AcroAVDoc = CreateObject("AcroExch.AVDoc")
Call AcroAVDoc.Open(sPDFile, "")
Set AcroPDDoc = AcroAVDoc.GetPDDoc()
iNumPages = AcroPDDoc.GetNumPages
Set AcroPDDoc = Nothing
Call AcroAVDoc.PrintPagesSilent(0, iNumPages - 1, 3, True, False)
Set AcroAVDoc = Nothing