The API2PDF blog

Tutorials

Step-by-step guides for generating PDFs, images and documents with API2PDF in Python, PHP, Node, C#, Java, Go, Ruby and more.

Merge PDFs together with C# and .NET Core

Combine several PDFs into one from .NET Core with the Api2Pdf NuGet package: installation, the merge call and the returned file...

Convert powerpoint to PDF with Python and LibreOffice

Convert .ppt and .pptx presentations to PDF from Python using the Api2Pdf LibreOffice endpoint, without installing LibreOffice ...

Using custom fonts with wkhtmltopdf and Headless Chrome

Which fonts are available by default, how to load Google Fonts and custom web fonts with @font-face, and the caveats for each r...

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...

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...

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...

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...

Convert HTML to PDF with nodejs / javascript

Install the api2pdf npm package and convert HTML, URLs and Office documents to PDF or merge PDFs from Node.js with Headless Chr...

Convert EML to PDF API – Bulk convert email files to PDF

Convert thousands of .eml email files to PDF with the LibreOffice endpoint and a short Python script. Useful for legal discover...

Print page breaks with wkhtmltopdf or Headless Chrome

Force a new page in a generated PDF with the page-break-before and page-break-after CSS rules. Works in wkhtmltopdf and Headles...

Print header, footer, page numbers on PDF with Headless Chrome

Why your Headless Chrome header and footer templates do not show up, the displayHeaderFooter flag, font sizes and the pageNumbe...

Page 5 of 6 · 71 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.