The API2PDF blog

Blog

Release notes, tutorials in every language, troubleshooting guides and engineering notes from the team behind the PDF API.

The journey of migrating PDF generation to a serverless architecture

Why and how Api2Pdf moved wkhtmltopdf, Headless Chrome and LibreOffice onto AWS Lambda, and what it did to cost, scale and reli...

Debugging Amazon S3, Lambda, Timeouts, ContentOperationNotPermitted, wkhtmltopdf, and Headless Chrome

A debugging story from the Api2Pdf backend: AWS Lambda timeouts, S3 and the ContentOperationNotPermitted error in wkhtmltopdf a...

[Solved] Could not install package ‘Api2Pdf 1.0.1’. Project that targets ‘.NETFramework,Version=v4.5.1’

The Api2Pdf NuGet package targets .NET Standard 2.0. If your project targets .NET Framework 4.5.1 or older, here is how to reso...

[Solved] ContentNotFoundError wkhtmltopdf exited with code 1

The ContentNotFoundError in wkhtmltopdf means a referenced asset (image, CSS, font) could not be loaded. How to find the broken...

Convert HTML to PDF with C# and .NET Core

Use the Api2Pdf NuGet package to convert HTML and URLs to PDF from .NET Core with Headless Chrome or wkhtmltopdf, plus Office c...

Merge PDFs together with Python on AWS Lambda

Combine multiple PDF files into one with the Api2Pdf Python client: install the package, pass a list of URLs, and get back a me...

FPDF Alternative for PHP for Generating PDFs

FPDF makes you build PDFs by hand in PHP. Design the document in HTML and CSS and convert it with Headless Chrome or wkhtmltopd...

Free Bootstrap 4 HTML Template for Displaying Database Records to PDF

A free HTML template for printing application forms, submissions and database records to PDF, ready for Headless Chrome or wkht...

Solution for overlapping content when generating PDFs with table headers and footers

Repeating thead and tfoot elements overlap content across pages in wkhtmltopdf and Headless Chrome. The CSS workaround that fix...

OpenStreetMap + LeafletJS + PDF

Embed an OpenStreetMap tile layer with Leaflet.js in a PDF using Headless Chrome and a javascript delay so the map tiles finish...

Adding a Watermark with WKHTMLTOPDF

Add a DRAFT or CONFIDENTIAL watermark to every page of a wkhtmltopdf PDF using a header HTML page with a fixed-position element...

CKEditor Save to PDF Plugin

An open source CKEditor 4 plugin that adds a Save to PDF button and converts the editor content with Api2Pdf. Demo and setup on...

Convert HTML to PDF with client side javascript and jquery

Generate a PDF straight from the browser with jQuery and the Api2Pdf REST API when a server-side option is not available. Sampl...

Page 9 of 11 · 138 posts

Generate your first PDF in minutes

Create an account, grab an API key, and send one POST request. Pay only for what you use.