Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print2PDF does not convert
Message
From
31/10/2003 13:26:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Print2PDF does not convert
Miscellaneous
Thread ID:
00845124
Message ID:
00845124
Views:
49
Hello everybody.

i've downloaded the Print2PDF utility from Paul James. Great class. However i've got a problem. i ran the demo which works just fine. i converted the prg based class into a class created with the class designer and incooperated it into my app where i print reports. i can't get it to work.

it creates the .ps file correctly, it also create a temporary .pdf file, but it's empty (0 bytes). when it comes to erase the temporary .ps file i get a "file acces denied" error. i run it on my local machine and i have full access to it - so that's not it.

when i exit my test program and try to delete the file manually - i still have no access. only after i issue "clear dlls" from the command window i am able to delete the files.

my gues, so far, is that the problem is in the "GSConvertFile" method where the .ps gets converted into the .pdf. it looks like the dll function which does the conversion get's stuck somehow - but i don't know why.

i run fox2.6 reports from vfp 6 (but i don't think that's the problem, because the .ps file get created). my reports have line in them (created with the 'box-command' in the report designer) - maybe the converter doesn't know what to do with those?!

has anyone got an idea what it could be?

Thanks for all your help in advance!
Next
Reply
Map
View

Click here to load this message in the networking platform