Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I print to a PDF file...
Message
From
26/10/2001 13:42:46
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00573160
Message ID:
00573802
Views:
46
Rick,

Almost there... I'm getting the error:
OLD lDispatch exception code 1797 from cdintf: PDFDriverInit failed..
on the following line of code:
oPDFPrinter.PDFDriverInit( "PDF Compatible Printer Driver")
I read what you said about the printer names and have tried different printer names, unistalling it, reinstalling it, but it seems to want to crash on this. Any ideas?

Renoir


>>Do I need to register the CDINTF.dll for this to work?
>
>If you are using the DLL interface as in my sample program, then yes, you need to register CDINTF.DLL.
* NOTE: CDINTF.DLL must be registered on your machine
>* (REGSVR32 CDINTF.DLL)
There is also an FLL supplied by Amyuni that you can use with VFP. The code would be similar but not identical. I preferred to use the DLL so that's the way I wrote the sample.
>
>>We're on the edge of my knowledge so if you wouldn't mind sharing what I need to do to get this to work I would really appreciate it. Thanks!
>
>I'm glad to share whatever I know. Please don't be reluctant to ask questions. That's what this place is all about, after all.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform