Re: Create PDF files in Euphoria
- Posted by irv Sep 15, 2017
- 1686 views
rneu said...
I will have a sequence of strings in my Euphoria program which I want to be written on a regular A4 page. Also, if possible, a small logo image to be shown on the top of that page. Is this possible?
No doubt there are a lot of different ways to do this, but I would just have my Eu program generate the html page, and then use the webkit to view (as html) and then convert to pdf. Here's a sample of a multi-page pdf I just created for you: README.html
Edit: if the layout of your pages doesn't change much, you could write an html "template" to control the size, font, position, etc of the elements, and have your Eu program "plug in" the text and filename of the logo. Very quick and easy.