Blog
Technical articles on PDF generation and document automation.
PDF Split API: Split PDF Pages by Range with FUNBREW PDF
Split any PDF by page range or page list using FUNBREW PDF API. Node.js, Python, and PHP examples for splitting invoices, reports, and certificates.
PDF Compress API: Reduce PDF File Size via a Single API Call
Compress PDF files via FUNBREW PDF API using Ghostscript. Choose low, medium, or high quality presets. Node.js, Python, and PHP examples included.
HTML to PDF in Python: Jinja2 Template Patterns Guide
Convert Jinja2 templates to PDF in Python with FUNBREW PDF API. Covers template inheritance, Pydantic binding, multilingual output, and custom Jinja2 filters.
How to Add a Watermark to PDF via API Using HTML and CSS
Add watermarks to PDFs with HTML/CSS and FUNBREW PDF API. Examples in curl, JavaScript, and Python. Uses position:fixed so the watermark repeats on every page.
HTML Form to PDF: Convert Web Forms to PDF with an API
Convert HTML forms to pixel-perfect PDFs with FUNBREW PDF API. Application forms, contracts, and surveys — with Node.js, Python, and PHP code examples.
PDF Merge API Guide: Combine Multiple PDFs in One API Call
Combine PDFs via the FUNBREW PDF merge API. Node.js, Python, PHP, and cURL examples with bulk strategies, encrypted PDF pitfalls, and size limit fixes.
JavaScript PDF Generation with Fetch API & Blob Download
Generate PDFs with vanilla JavaScript and the Fetch API — no Puppeteer needed. Covers Blob download, error handling, React and Vue.js integration.
PDF API Rate Limiting | 429 Errors & Exponential Backoff
Handle PDF API 429 errors using Retry-After, exponential backoff, preemptive throttling, and concurrency control. JavaScript and Python code included.
Invoice PDF HTML Template Guide | CSS Layout & Design
Design professional invoice PDF templates in HTML and CSS. Table layout, page sizing, brand colors, multi-page headers, and dynamic data binding for PDF API.
PDF Webhook Payload Reference | HMAC Verification & Retry
Full field definitions for FUNBREW PDF webhook payloads. HMAC-SHA256 verification, retry schedules, and idempotency in Node.js, Python, and PHP.
wkhtmltopdf @page CSS Guide: size, margin, and Layout
wkhtmltopdf @page CSS guide: A4 size, margin 0, page numbers, and headers. Which properties actually work, CLI flag workarounds, and Chromium migration path.
CSS Print to PDF Cheatsheet: Every Property You Need
CSS to PDF cheatsheet: @page, page breaks, backgrounds, repeating table headers, and page numbers — copy-paste snippets for Chromium PDF engines.
Certificate PDF SDK Quickstart: Generate Your First PDF Fast
Generate a certificate PDF in minutes. Node.js, Python, PHP, and cURL code examples — plus retry logic, rate limit handling, and production tips.
HTML to PDF in 2026: All Methods Compared with Code
Every major HTML to PDF method in 2026 compared: browser print, wkhtmltopdf, Puppeteer, Playwright, WeasyPrint, and managed PDF APIs — pros, cons, and code.
Async PDF Generation Status: Polling vs Webhook
Polling vs webhooks for async PDF generation status tracking. Exponential backoff, signature verification, and idempotency patterns — Node.js and Python code.
Puppeteer vs PDF API: Performance and Cost Compared
Self-hosted Puppeteer vs managed PDF API: memory usage, cold starts, concurrency, Docker image size, and cost — with real numbers to guide your decision.
CSS Print Stylesheet Guide: @page, @media print & PDF Output
CSS for PDF: @page margins, @media print, break-before rules, table-header-group, and background printing. 25+ copy-paste snippets for Puppeteer and PDF APIs.
API Certificate Generator: Build a PDF Certificate SDK
Build an API certificate generator with FUNBREW PDF. Node.js and Python SDK wrappers, HMAC tamper-proof IDs, retry logic, and multi-template support.
Bulk Certificate Generator for Events: Eventbrite CSV to Tier-Based PDFs in Minutes
Bulk-generate event certificates from Eventbrite or Hopin CSV: map ticket tiers to templates and deliver QR-verified PDFs in parallel with FUNBREW PDF API.
API Key Client Grouping for Resellers and Multi-Tenant SaaS
Group FUNBREW PDF API keys by client, project, or tenant to track usage, allocate costs, and simplify support — for agencies, contractors, and SaaS resellers.
Embed QR Codes in PDF: Node.js, Python & API Guide (2026)
Embed QR codes in PDFs with Node.js or Python. Generate Base64 QR codes, insert into HTML templates, and convert via PDF API. Copy-paste examples included.
Export Google Analytics Data to PDF Reports via API
Automate GA4 to PDF report generation. Fetch GA4 metrics, render Chart.js charts, and email branded PDF reports automatically. Node.js and Python code included.
Playwright PDF Too Slow? Cut 80% of Code with a PDF API
Fix Playwright PDF memory issues, slow cold starts, and Chromium version headaches. Step-by-step migration guide with Node.js and Python before/after code.
Migrating from wkhtmltopdf: @page CSS, Fonts & API Guide
Migrate from wkhtmltopdf to a Chromium PDF engine. Fix @page size A4 margin 0 and CSS issues — with curl, Python, and Node.js migration code.
PDF Certificate API Integration Guide
Integrate a certificate generator API to automate PDF issuance. Covers LMS webhooks, auth, error handling — Node.js and Python examples.
Playwright PDF Generation: page.pdf() Guide & API Migration
Generate PDFs with Playwright page.pdf(). CSS print media, production cold start issues, and migration to FUNBREW PDF API — with Node.js examples.
Bulk Certificate Generator: Issue 100–10,000 PDFs from CSV
Bulk certificate generator for events and online courses. CSV to PDF via template engine, parallel API calls, and ZIP bundling — Node.js & Python examples.
Python PDF Generation: ReportLab, WeasyPrint & API Compared
Compare Python PDF libraries: ReportLab, WeasyPrint, xhtml2pdf, pdfkit, Playwright, and FUNBREW PDF API. Code examples for invoices, reports, and batch jobs.
Node PDF API Guide: Express, Lambda & Edge with FUNBREW PDF
Use a Node PDF API to generate PDFs in Express, AWS Lambda, Hono, and Cloudflare Workers. HTML templates, error handling, concurrency — no Puppeteer required.
5 Free HTML Certificate Templates for PDF Generation
Copy-paste HTML certificate templates for PDF. Completion, award, diploma, attendance & credential templates. Batch issue via API with code examples.
CSS @page Rule for PDF: Size, Margins, Headers & Print Fixes
CSS @page rules for PDF: set A4 size and zero margins, fix wkhtmltopdf layout, hide table headers on page 1 in Chromium, and add headers/footers with pure CSS.
PDF Generation: API vs Library — How to Choose in 2026
Should you use a PDF library or an API? Compare setup time, rendering quality, CJK support, scaling, and cost to find the best approach for your project.
PDF Generation API vs Browser Print (window.print)
Compare window.print() with PDF APIs. Browser printing limitations, @media print pitfalls, and migration guide.
PDF Accessibility Guide: PDF/UA, WCAG & ADA Compliance
Generate accessible PDFs with FUNBREW PDF API. Covers PDF/UA, WCAG 2.1 AA, semantic HTML templates, contrast ratios, and testing with PAC 2024 and axe-core.
C# / .NET PDF API Guide — iTextSharp Alternative
Generate PDFs in ASP.NET Core with FUNBREW PDF API. HttpClient DI, Razor templates, BackgroundService, test mocking, Polly retry, and production tips.
PDF Merge, Split, Compress & Watermark: API Guide
Automate PDF post-processing via API: merge, split, compress, watermark, page numbers. Code examples in curl, Python, Node.js. Library comparison included.
Japanese PDF Fonts: Base64 Noto Sans JP & CSS Guide
Embed Noto Sans JP via data:font/woff2;base64 for offline PDF rendering — no CDN, no tofu boxes. Snippets for Google Fonts, self-hosted WOFF2, and Puppeteer.
Responsive HTML to PDF: Layout Patterns and Best Practices
Convert responsive HTML to PDF without broken layouts. Learn @media print, viewport width, Flexbox/Grid PDF behavior, paper sizes, and fixed headers/footers.
HTML to PDF Table Layout Guide: Fix Page Break Issues
Solve HTML to PDF table issues: split rows, missing thead, broken colspan/rowspan, responsive layout. Complete invoice example with CSS and API code.
Automate PDF Generation with GitHub Actions & PDF API
Automate PDF generation in GitHub Actions with FUNBREW PDF API. Learn Secrets management, HTML-to-PDF, Markdown-to-PDF, artifact uploads, and cron scheduling.
Automate Google Sheets to PDF with Apps Script
Automate Sheets-to-PDF with Apps Script and FUNBREW PDF API. Invoice generation, Drive storage, Gmail delivery, and scheduled triggers with GAS code examples.
Spring Boot PDF API Guide — Java iText Alternative
Generate PDFs from Spring Boot with FUNBREW PDF API. No iText license needed — RestTemplate or WebClient, Thymeleaf templates, retry logic, and production tips.
Laravel PDF API Guide — Beyond DomPDF and Snappy
Integrate FUNBREW PDF API with Laravel. Code for Http Facade, service classes, Blade templates, Queue jobs, and Http::fake() testing — with production tips.
React PDF Generation: Library Comparison Guide 2026
Compare @react-pdf/renderer, jsPDF, html2canvas, and API-based PDF generation for React apps. Code examples, feature matrix, and use-case recommendations.
PDF API Integration for SaaS: Multi-Tenant Architecture Guide
Add PDF generation to your SaaS product. Architecture guide covering multi-tenant templates, async queues, webhooks, white-labeling, and cost optimization.
PDF Generation Slack Bot: Slash Commands, Scheduled Reports & Block Kit
Build a Slack bot that generates PDFs on slash command. Covers /pdf slash commands, Block Kit messages, scheduled report delivery, and error handling. Node.js and Python examples.
WordPress PDF Generation: WooCommerce Invoices, Shortcodes & REST API
Add PDF generation to WordPress with the FUNBREW PDF API. Generate WooCommerce invoices, create shortcodes for downloadable PDFs, and build REST API endpoints. PHP code included.
PDF API with Docker & Kubernetes: Container PDF Generation Guide
Generate PDFs from Docker and Kubernetes with FUNBREW PDF API. Covers health checks, autoscaling, secret management, and CI/CD pipeline integration.
TypeScript PDF API Guide — Type-Safe PDF Generation
Use PDF APIs with full type safety in TypeScript. Covers type definitions, Zod validation, generics, and practical examples for Next.js, Express, and Deno.
Markdown to PDF API Guide | 5 Themes & GFM Support
Convert Markdown to styled PDFs via API. 5 built-in themes, GFM support, with Python, Node.js, and PHP examples.
Using PDF API with Next.js and Nuxt 3: Complete Guide
Integrate FUNBREW PDF API into Next.js and Nuxt 3. Practical guide covering API Routes, Server Routes, client-side PDF downloads, and Vercel/Netlify deployment.
Django, FastAPI & Flask PDF API Integration Guide
Add PDF generation to Django, FastAPI, or Flask with FUNBREW PDF API. Examples for views, Celery async, Blueprints, and pytest — all three Python frameworks.
PDF API Quickstart for Ruby and Go: Code Examples
Generate PDFs with FUNBREW PDF API in Ruby and Go. Covers net/http, Faraday, Resty, Rails/Gin/Echo integration, error handling, and batch processing.
PDF API on AWS Lambda: Serverless PDF Generation Guide
Generate PDFs from AWS Lambda with FUNBREW PDF API. Cold start optimization, S3 integration, API Gateway setup, and async patterns with code examples.
HTML to PDF Not Working? 10 Fixes for Fonts & Layouts (2026)
Blank PDF? Broken layout? Missing fonts or images? 10 copy-paste fixes for the most common HTML-to-PDF errors — diagnosed by symptom, solved in under 5 minutes.
PDF API Production Guide 2026: Rate Limits & Cost Control
2026 guide for running PDF APIs in production. Rate limit management, observability metrics, cost optimization, API key rotation, and queue-based scaling.
Automated PDF Report Generation: Charts, Scheduling & Email Delivery
Automate PDF report generation with Chart.js charts, cron scheduling, and email/webhook delivery. Production-ready examples in Node.js, Python, and PHP.
Convert HTML to PDF: Complete Guide 2026 (API, Puppeteer & More)
How to convert HTML to PDF in 2026: compare Puppeteer, Playwright, wkhtmltopdf, and cloud PDF APIs. Node.js, Python, PHP, and curl examples included.
PDF API Error Handling: Retry & Exponential Backoff Guide
Handle PDF API errors — timeouts, rate limits, invalid HTML — with exponential backoff retry in curl, Python, Node.js, and PHP.
PDF Certificate Automation: Template Design to Bulk Delivery
API-based PDF certificate generator: bulk issuance from CSV or Google Sheets, QR verification, S3 archival, and email delivery — Python and Node.js examples.
HTML to PDF CSS Fixes: @page, Page Breaks & Backgrounds
CSS not rendering in your PDF? Copy-paste fixes for @page margins, page breaks, missing backgrounds, and fonts. Works with Puppeteer, Playwright and PDF APIs.
PDF Batch Processing Guide: Generate Hundreds of PDFs Fast
Batch generate PDFs with an API. Covers batch endpoints, concurrency patterns, error handling, and performance tips in Node.js, Python, and PHP.
PDF API Pricing Comparison 2026: Find the Best Value
Compare PDF API pricing: FUNBREW PDF, DocRaptor, PDFShift, CraftMyPDF, and Api2Pdf. Free tiers, per-document costs, and volume simulations. Updated April 2026.
PDF API Quickstart: Node.js, Python & PHP — 5-Line Examples
Start generating PDFs from HTML in under 5 minutes. Copy-paste Node.js, Python, and PHP code that calls FUNBREW PDF API with a single POST request.
PDF API Security: API Keys, IP Whitelisting & SSRF Prevention
Secure your PDF API integration with rotating API keys, IP whitelisting, SSRF prevention, and data masking. Production patterns for Node.js, Python, and PHP.
PDF API Webhook Guide: Slack and System Notifications
Get a callback when PDF generation completes. Covers HMAC signature verification, retry logic, and Slack/email notifications in Node.js, Python, and PHP.
Puppeteer PDF Too Slow? Cut 80% of Code with an API
Migrate from Puppeteer or Playwright to a managed PDF API. Node.js, Python, and PHP before/after code shows how to drop Chromium and eliminate cold starts.
How to Automate Invoice PDF Generation with a REST API
Automate invoice PDF generation and email delivery via REST API. Dynamic data binding, batch processing, and webhook notifications with Python and PHP code.
HTML to PDF API Comparison 2026: With Code Examples
Compare wkhtmltopdf, Puppeteer, Gotenberg, and FUNBREW PDF for HTML to PDF conversion. Includes code examples, pricing, features, and performance benchmarks.
wkhtmltopdf vs Chromium: Choosing the Right PDF Engine
wkhtmltopdf vs Chromium for PDF: speed, CSS support, and quality benchmarks. curl, Python, and Node.js examples for invoices, reports, and certificates.
PDF Template Engine Guide: Dynamic Content Generation
Generate PDFs dynamically with HTML templates and variables. Python, PHP, and Node.js examples with troubleshooting for invoices, certificates, and reports.