Gave this a look at, as PDF generation has been the bane of web app development for us.
This looks much more reasonable than fpdf's bare bones nature, or wkhtmltopdf / snappy / puppeteer needing esoteric, old CSS specs and having a lot of quirks because of it.
Particularly happy at how it can swap page size as needed.