News for hackers. Stuff that matters.
Re:Show HN: Card Proxy Generator – Generate printable game c... by nothrabannosir on Monday January 29, 2018 @07:09PM (#16261787)
Headless chrome and a print-to-pdf are the way to go, here. There’s a library (whose name eludes me) which wraps it all up very nicely in a JS lib. If you’ve got the html, generating a pdf automatically shouldn’t be more than one screen of code and a docker container.

Edit: the lib is puppeteer. https://github.com/GoogleChrome/puppeteer/

There are no comments on this comment yet.