Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print2PDF does not convert
Message
From
31/10/2003 15:46:03
 
 
To
31/10/2003 13:26:08
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00845124
Message ID:
00845214
Views:
13
ok, i got a bit closer to the root of the problem.

by testing between vfp reports and fox2.6 reports it seems that the .ps file is created incorrectly with a fox2.6 report. it looks like there is information needed to create those files which is not in the fox2.6 report.

is there any way i can modify the parameters to the .ps file creation in order to work with fox2.6 reports, or do i have to create a 2 report (vfp report version) for this?

any ideas anybody?


>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!
Previous
Reply
Map
View

Click here to load this message in the networking platform