Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Save File Using FLUSH/Force or something Else
Message
From
15/12/2017 16:01:04
 
 
To
15/12/2017 09:48:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01656416
Message ID:
01656465
Views:
37
Thank You.

>acrobat accepts only files supported and even forcing a file to pdf extension does not work generally.
>there is some special header,formattings...
>
>if your file is plain text one (txt extension,prg,mpr...) must use the appropried tool to convert to pdf.
>i have made some works on this domain and with lIBHARU library
>this library is free and was ported on vfp by Dorin Vasilescu and can be downloaded in this link:
>https://sites.google.com/site/pdfclasses/
>
>you can see 2 posts i made in :
>http://yousfi.over-blog.com/2016/04/libharu-hpdf-library.html
>http://yousfi.over-blog.com/2016/04/libharu-hpdf-library-export-to-pdfs-part-ii.html
>there is a zip with complete library and tests.
>can see the txt2pdf code conversion here or images2pdf....
>
>i you can also use Fowypreviewer (it uses libharu library also) to convert txt to a report and save it programmatly as a pdf file.
>(as example i posted above)
>
>of course there is a "plethora" of web softs doing all types of conversion (free and non free).
>someones are light and use simple commandline and its very easy to use from vfp (shellexecute with params) to achieve the conversion.
Harsh
Previous
Reply
Map
View

Click here to load this message in the networking platform