Discussion Locked

automating pdf production in VFP

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to automate the process of report publication for my FoxPro reports. We currently have several that are sent to PDFWriter and renamed by the programmer who runs them manually. Is there a way to assign the name of a .pdf created with distiller from within my FoxPro application at runtime? Maybe a switch or an API? This would help in executing these programs after hours without supevision. I will be very grateful if any thoughts are given.

4 replies

by backbeet1

Ended up using the Distiller and naming the files out to postscript files. (ie. myreport.ps. When distiller converts, it keeps the name of the myreport.ps and converts it to myreport.pdf. Works like a charm, but requires a Postscript driver to be the default printer. Handy dandy FoxPro tip if anyone wants details.

This discussion is closed to new replies.