1

I need advice about a technical problem regarding to document generation (PDF, Doc). I want to provide external data and combine that with a predefined template. The goal is to generate a lot of different kind of documents (invoices, information pages, etc..)

Is there a solution that already exists? That works with a flexible template format and can be easily combined with external data like Json/XML. The language does not really matter as long it can be uses in a Saas environment.

Thx.

  • Sounds like you want a HTML to PDF converter. HTML is arguably the most powerful layout engine out there, so just need to find a HTML to PDF converter. Using HTML as your engine ensures you don't end up in any vendor lock in. – Ryan Sep 26 '19 at 5:34
0

The Bytescout PDF Generator SDK can successfully create PDF and Docx documents from an HTML source and it offers plenty of customization and fine tuning.

Please check out the following samples:

Disclaimer: I work for Bytescout.

| improve this answer | |
0

A templating engine such as Jinja or Velocity allows you to define your own document template and then substitute in data. The templates could be used to produce HTML or Markdown that could be converted to PDF using pandoc or other tools.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.