News for hackers. Stuff that matters.
Re:DNC just open-sourced their voter registration platform by cperciva on Saturday September 01, 2012 @07:09PM (#4465460)
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.

Re:DNC just open-sourced their voter registration platform by tptacek on Saturday September 01, 2012 @07:11PM (#4465464)
You 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.

Re:DNC just open-sourced their voter registration platform by cperciva on Saturday September 01, 2012 @07:35PM (#4465507)
I 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".