Skip to content

re: What tools do you use for server side PDF generation? VIEW POST


Use a Word or OpenDocument template (or another of your choice). Use LibreOffice in headless mode to search and replace the fields (you can use ###VAR1### or whatever you like) in your document by the generated values. Then convert it:

libreoffice --headless --convert-to pdf your-document.docx

That should do.


Well that approach looks interesting too. We'll look into it, thanks :)

code of conduct - report abuse