Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreatePDF and Windows NT/Windows 2000
Message
 
 
À
22/07/2002 14:50:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00681215
Message ID:
00681359
Vues:
28
>I just tried createPDF() on my machine (W2K machine, PDF writer version 4.05) and it worked fine, without making any changes.
>
>It is probably time for you to use Rick's class anyway :)
>
>>>Tried it just now, it didn't work. I changed CreatePDF to:

I just tried Rick's class. On my machine Demo.prg asked for the name of file, allows me to View it, etc.

On Windows NT machine it didn't work. I ran Demo program (I downloaded this program today from Rick's site) and I was tracing it. At one moment the message was "Output file was not created".

I checked Temp directory and the file _3efge.ps.pdf was there.

Here is the Demo.prg:
DO wwPDF  && Load Libs

o=createobject("wwPDF50")

USE TT_CUST

? o.PrintReport("custlist.frx",SYS(2023) + "\custlist.pdf")
GoUrl( SYS(2023) + "\custlist.pdf" )


* lcPDFBin = o.PrintReportToString("custlist.frx","FOR COMPANY='A'")

RETURN
Did you try my exact CreatePDF program without changes? Can you tell me, how your Adobe Acrobat is configured? I'm guessing, that it's some difference in Adobe itself. I tried to make changes according to the link in Richard message, but it didn't help.

I've just tested it on Windows 2000 machine, it didn't work again.

So, both CreatePDF and Rick's class are failing. I believe, I need to adjust Adobe Acrobat, but how?

I also think, I saw similar messages here. I probably need to search UT for them...

Adobe version is 4.05, I just checked.

We're using Novell network and VFP6, if it makes any difference.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform