Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outputting from VFP into PDF format
Message
 
To
23/11/2001 15:20:09
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00584884
Message ID:
00585258
Views:
44
Sure,
here is snip of code I currently use.

IF VARTYPE(opdf)# "0"
RELEASE opdf
opdf=.null.
opdf = createobject("build.fytek.PDF")
ENDIF
oPDF.setInFile()
oPDF.setOutFile()
opdf.setkeepbreaks("1")
oPDF.setInFile("projrpt.txt")
oPDF.setOutFile("projrpt.pdf")
oPDF.buildFytekPDF()
release opdf

I found some of these functions using intellsense in vfp7 from the command line.

I hope this works for you.
Bob Lee


Can you give me some code?? I installed it, followed the samples but I can't make it work, when I use:
>
>oPDF.SetOutfile( "c:\mypdf.pdf")
>
>it give me an Ole error, do you know how to solve it?
>
>TIA
>
>Luis
>
>
>>Good morning Sergey
>>Eveyone has favorite PDF processor these days, this one is mine.
>>http://www.fytek.com/
>>
>>The free version,(text to pdf converter) allows for converting text only reports to pdf files, with a few fonts - and sizes, and jpg graphics.
>>Its quite good if you like writing your reports by hand, the old fashiond way. (thats what I do)
>>
>>Take a look at the pdf file creater, you can write a simple text type file, and generate all sorts of graphs from the data. (they have a web demo) so you can see whats really going on.
>>
>>Bob Lee
In the beginning, there was a command prompt, and all was well.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform