3 ms·
web application whose purpose is to spit out PDF files that need to follow a specific format FWIW, I've found that "generate HTML and feed it through wkhtmltop
by cperciva 14y ago
web application whose purpose is to spit out PDF files that need to follow a specific format
FWIW, I've found that "generate HTML and feed it through wkhtmltopdf" is a surprisingly effective way of doing this.
- tptacek 14y agoYou lose control of pagination when you do this, but, more generally, we're talking about business processes where things need to look exactly the way they usually do. That said: I used to do the same thing, and it works pretty well.
- cperciva 14y agoI managed to get the pagination I needed via judicious use of "page-break-before: always", but yes, this is more a strategy for "I need to programatically generate PDF files" than "I need to generate PDF files which look exactly like this".