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.

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

Print header, footer, page numbers to PDF with wkhtmltopdf

Add a header, footer and page numbers to a wkhtmltopdf PDF with the header-center, footer-right and [page]/[topage] options. Ex...

Free Bootstrap 4 Packing Slip HTML Template

A free, print-ready Bootstrap 4 packing slip template you can fill from your database and convert to PDF with Headless Chrome o...

Export AnyChart graph to PDF with wkhtmltopdf

Print AnyChart javascript charts to PDF with wkhtmltopdf: the sample HTML, the javascript delay option and the API call that re...

How to use Api2Pdf’s SwaggerHub to get the most out of our support team

Use the interactive Swagger documentation to authorize with your API key, try endpoints live, and send support a reproducible r...

Generate PDF of Invoice or Receipt with wkhtmltopdf or Headless Chrome

Build invoices and receipts as HTML, then convert them to PDF with wkhtmltopdf or Headless Chrome through a REST API that runs ...

Generate PDF Report with Highcharts and wkhtmltopdf

How to render Highcharts line, bar and pie charts into a PDF report with wkhtmltopdf, including the javascript delay that makes...

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