Blog
Technical articles on PDF generation and document automation.
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 with an SDK in minutes. Node.js, Python, and cURL examples cover the API call, HTML templates, and a path to production.
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.
Certificate PDF SDK Design: Retry Logic, Tamper-Proof IDs, and Multi-Template Management
Build a reusable certificate SDK on FUNBREW PDF API: Node.js and Python wrappers, HMAC tamper-proof IDs, exponential backoff, and multi-template management.
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.
Generate PDFs with Node.js: Express, Lambda & Edge Guide
Generate PDFs in Node.js with Express, AWS Lambda, Hono, and Cloudflare Workers. HTML templates, production error handling, concurrency patterns — no Puppeteer.
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.
Slack Bot PDF Generation: Slash Commands & Block Kit 2026
Build a Slack Bot that generates PDFs on demand with FUNBREW PDF API. Covers slash commands, Block Kit, scheduled reports, and Node.js/Python examples.
WordPress PDF Generation with FUNBREW PDF API: Complete Guide
Add PDF generation to WordPress with FUNBREW PDF API. Covers wp_remote_post(), shortcodes, WooCommerce invoices, REST API endpoints, and security tips.
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
Integrate FUNBREW PDF API with Django, FastAPI, or Flask. Code examples for views, Blueprints, Celery async, and pytest — all three Python frameworks covered.
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 Checklist: Monitoring, Scaling & Costs
Production checklist for PDF generation APIs. Covers API key rotation, rate limiting, error handling, monitoring, cost optimization, and scaling patterns.
PDF Report Generation API: Automate Charts & Scheduled Delivery
Generate PDF reports automatically with a PDF API. Add Chart.js visualizations, schedule with cron, and deliver via email or webhook. Node.js, Python, and PHP examples with full source code.
HTML to PDF: Complete Guide 2026 | Methods & Implementation
Complete guide to HTML-to-PDF conversion in 2026: compare wkhtmltopdf, Puppeteer, Playwright, and cloud APIs. Includes curl, Python, Node.js, and PHP examples.
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: Full Pipeline from Template Design to S3 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, and PHP Examples
Get started with PDF generation using FUNBREW PDF API. Step-by-step code examples for Node.js, Python, and PHP to generate PDFs from HTML in minutes.
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
Set up webhook notifications for PDF generation events. Implement endpoints in Node.js, Python, and PHP with Slack integration and security best practices.
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 via REST API with dynamic data binding and batch processing. JavaScript, Python, and PHP code samples included.
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.