Background color on header / footer in Headless Chrome
Header and footer templates in Headless Chrome ignore background colors by default. The CSS that makes them print, with Puppeteer and the API.
Read the postStep-by-step guides for generating PDFs, images and documents with API2PDF in Python, PHP, Node, C#, Java, Go, Ruby and more.

Header and footer templates in Headless Chrome ignore background colors by default. The CSS that makes them print, with Puppeteer and the API.
Read the post
Cloudflare Workers cannot run Headless Chrome. Call the Api2Pdf REST API from a Worker with fetch to convert HTML or URLs to PD...

Add a user and owner password to an existing PDF from Python with the PdfSharp password endpoint. A few lines of code.

Generate a Microsoft Word document from HTML in PHP with the LibreOffice html-to-docx endpoint, without installing LibreOffice.

Render HTML to a PNG or JPEG image from Node.js with Headless Chrome through the Api2Pdf REST API. A few lines of JavaScript, n...

Turn an HTML table into an Excel workbook from Python with the LibreOffice html-to-xlsx endpoint. Sample code included.

Render HTML to a PNG or JPEG image from PHP with Headless Chrome through the Api2Pdf REST API. A few lines of code, no browser ...

Turn an HTML table into an Excel workbook from PHP with the LibreOffice html-to-xlsx endpoint. Sample code included.

Generate a Microsoft Word document from HTML in .NET Core with the LibreOffice html-to-docx endpoint, without interop or a loca...

Render HTML to a PNG or JPEG image from Python with Headless Chrome through the Api2Pdf REST API. A few lines of code, no brows...

Convert any URL to a PNG screenshot from Python with Headless Chrome through the Api2Pdf REST API. Sample code included.

Add a navigable bookmark outline to an existing PDF from Python with the PdfSharp bookmarks endpoint. Sample code included.

Turn an HTML table into an Excel workbook from Node.js with the LibreOffice html-to-xlsx endpoint. Sample code included.
Page 1 of 5 · 61 posts
Create an account, grab an API key, and send one POST request. Pay only for what you use.