Best approach for professional invoice PDF generation?
I’m trying to build a custom invoice PDF system similar to Tally invoices and struggling with dynamic table layouts.
I tested pdfmake, but faced issues like:
- text overflow
- inconsistent row heights
- messy page breaks
- table/layout breaking with large data
Then I checked iText, but even there people mention overflow/layout limitations with dynamic content.
So how do professional systems like Tally actually generate reliable invoices?
Do most developers use:
- HTML/CSS + Puppeteer
- iText/PDFBox
- reporting tools
- or something else?
Main goal:
A4 printable invoices with preview + download and stable dynamic tables.
u/ExcellentEducator960 — 7 days ago