Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with PRINT2PDF
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010796
Message ID:
01010872
Views:
17
Hi Sergey,

Just tested with version 1.5 with same results.

It creates the first pdf without incident, however, the second call causes the PDF Creation Error stating that Ghostscript cannot create my pdf file. Followed by the second error message stating basically the same thing, that Ghostscript could create my file. I can see, through the debugger, that it goes through the FOR loop set to make the program "sleep" for 10 seconds and then it errors out. It creates the .PS file via the "report form" statement, having assigned the printer to the GENERIC POSTSCRIPT DRIVER, but doesn't seem to be able to create the subsequent PDF. Can't fathom as to why because as I stated in my original post, I have been successful in making several calls to PRINT2PDF from within other applications. There is really nothing unusual about the application, I do SQL SELECTS to get my data and then attempt to go to PDF. The reports work fine, as that has already been ruled out. And I doubt it has to do with the size of the report as it is only one page, always. I am going to increase the amount of time that the program "sleeps" to see if it has an effect on the results, but I do not anticpate that doing so will correct the problem. I'll let you know. If you have any ideas, I would be grateful to know and test them out.

Regards,
Vince
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform