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