New Forum | Previous | Next | (P-PDF) Developers
Topic: DISTILLER usage from VB
Conf: (P-PDF) Developers, Msg: 52888
Date: 5/29/2002 04:55 PM
I am using the Distiller printer driver from my VB app to generate a PDF file. How do I specify a file name for the output PDF file programmatically? I know that I can have it display a dialog box and have the user specify the file name and location, but I don't want the user doing that. I also know that Distiller will put the file in a specified location (like the default location \program files\adobe\acrobat 4.0\PDF Output), but I want control over the file name. When I do this from my VB app the file name is Microsoft Visual Basic.PDF. How would I be able to set the file name within VB? For example, I might want the file name to include a date and time stamp like REPORT19990827.PDF.