Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Save File Using FLUSH/Force or something Else
Message
De
15/12/2017 16:01:04
 
 
À
15/12/2017 09:48:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01656416
Message ID:
01656465
Vues:
38
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform