New Forum | Previous | Next | (P-PDF) Developers
Topic: Changing PDF Output Names on the Fly in Foxpro
Conf: (P-PDF) Developers, Msg: 52260
Date: 5/29/2002 04:51 PM
I have become responsible for a Visual Foxpro System which currently sends reports to multiple remote printers. Instead, I want to send these reports to Acrobat Distiller to create PDF files which users can print from at their own convenience.
In my experimental system, I am able to send these reports to Acrobat Distiller. It puts out a file called "Visual FoxPro.PDF".
After the command to send the report to Acrobat Distiller, Foxpro continues executing subsequent commands even though Distiller is still out putting the PDF file.
The application does a number of reports in a batch processing non interactive mode.
I need to be able to change the output PDF report name on the fly from within the Foxpro system. As I see it, I must either be able to tell Distiller to output the file to the name I want or I must be able to change the output name from "Visual Foxpro.PDF" after the file has been totally flushed to disk. The space in "Visual Foxpro.PDF" is giving me some trouble in that I am unable to find a way to tell when the file is flushed to disk.
Is there a way to change the name of the default output PDF file from "Visual FoxPro.PDF" on a permanent basis, or,
Is there a way to dynamically name my output PDF file names with a unique name, each time one is sent to Distiller.
Any help on this would be greatly appreciated.