Re: Create pdf documents on the fly
- Posted by jimcbrown (admin) Jun 28, 2010
- 2153 views
Hi
Does anyone know the best way to create pdf documents on the fly from euphoria?
I've tried searching pdf but nothing comes up.
Would really appreciate anybody's help.
Yes but you won't like it.
Get http://html2fpdf.sourceforge.net and then write out an HTML file from Euphoria and then run html2fpdf on it.
Or, write out the HTML and put it online via a web server, then convert it to PDF using http://www.htm2pdf.co.uk/
Or, install a PDF printer and then print your document to that PDF creator.
These methods all avoid the difficult task of handling the PDF file format directly from inside of Euphoria. Managing this functionality using only Euphoria code is possible, and certainly no harder than doing it in C or PHP, but afaik no one has tackled this problem yet.