Archive for March, 2019


Multi-lingual support for HTML to PDF (wkhtmltopdf / Headless Chrome)

March 25th, 2019 / by api2pdf /

Intro – HTML to PDF with Multiple Languages A frequent question we receive at API2PDF is if it is possible to generate PDFs with foreign languages, or languages that contain special characters in their text. The answer is yes, and it is possible to support these languages in both wkhtmltopdf and Headless Chrome rendering engines. […]

Read More

Web service to convert HTML + CSS to PDF

March 23rd, 2019 / by api2pdf /

Intro API2PDF is a web service for generating PDFs at massive scale. Our mission is to make the experience of generating PDFs for application developers not completely miserable. Our system is designed with extreme scalability in mind and is ready for enterprise use. We are built on a serverless architecture, AWS Lambda, which means we […]

Read More

domPDF Alternative for PHP

March 23rd, 2019 / by api2pdf /

Intro domPDF is an HTML to PDF Converter. At its heart, dompdf is (mostly) a CSS 2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes. […]

Read More

Generate Barcodes and QR codes with Javascript and jQuery (ZXING)

March 20th, 2019 / by api2pdf /

One of the best ways to generate barcodes and QR codes is to use the open source library Zebra Crossing, aka ZXING. It’s available in multiple programming languages, but you can only reliably generate these codes on the server-side. If you are reading this blog post, it probably means you are hoping you can simply […]

Read More

jsPDF Alternative for PDF Generation

March 14th, 2019 / by api2pdf /

jsPDF is a client side library for javascript that allows you generate PDFs. It is open source and convenient for quick and dirty PDF generation, but unfortunately it lacks some key functionality. Since it is not browser-based, building a PDF with jsPDF can be cumbersome. In most cases, all you are looking to do is […]

Read More

Render Google Map to PDF with Headless Chrome

March 3rd, 2019 / by api2pdf /

If you are reading this article, you are likely having issue getting a Google Map to render properly when printing to PDF with Headless Chrome. The problem stems from Headless Chrome printing the page to PDF too fast — prior to Google Maps being able to display their map. Here at API2PDF, we are often […]

Read More