Tagged with

Puppeteer

This post thumbnail

You've probably been handed a deceptively simple task. “We already have the HTML. We just need a PDF.” Then the actual work starts. The first output looks fine until a table splits across pages, the footer overlaps content, a font disappears in production, or the file that worked on your laptop breaks inside a container. That's the moment it becomes apparent that an HTML to PDF library isn't just a conversion utility. It's part renderer, part print engine, part deployment problem, and pa

2 July 2026

This post thumbnail

You've already built the hard part. The invoice template looks right in the browser, the report page handles edge cases, and the “Download PDF” requirement sounds small enough to fit into a sprint. Then the actual work starts. The first generated file clips the footer. A custom font disappears in production. Page three splits a table row in half. The container image needs extra system packages. Local output looks fine, but CI produces a different result. That's why choosing the best PDF

2 July 2026