Hacker News new | ask | show | jobs
by const_cast 388 days ago
One way to generate PDFs, and it's kind of round-about, using HTML to then convert to PDF with Chromium. You can make the HTML using templates and you get access to CSS, too.
1 comments

This is a really good way to do it. CSS also provides ways to customize page boundaries, margins, headers and footers.