Guides

Updated October 30, 2026

Practical guides for generating PDFs from HTML, testing layout, automating reports and invoices, and fixing the page breaks that break document automation.

Start here

  • HTML to PDF in Node.js — install the SDK, render templates, handle fonts and images, and ship a production-ready PDF pipeline.
  • Automated PDF layout testing — catch split tables, orphaned charts, wrong TOC numbers, and misplaced signatures before delivery.

Use cases

Layout fixes

Choose an API

Examples

  • Q3 report — auto TOC, chart/commentary healing, and signature coordinates.
  • Travel itinerary — five checks, two patches, and a day index/page total measured after the layout settles.
  • Invoice self-healing — overflow, Tier 1 patches, and Tier 2 webhook fallback.

Need the full API reference?

Start with the generation options, then add layout checks and webhooks.

Generate PDF API