HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by kragen

Comment by kragen 2 days ago

0 replies

View on Hacker News

I just wrote a quick HTML renderer in Python with ReportLab: https://GitHub.com/kragen/dercuano/blob/master/genpdf.py

It only handles like 5% of HTML, but it's the 5% I was using.

I've also had success producing PDFs with GhostScript from a PostScript file. PostScript is really easy to write, almost like SVG.