ReportLab Alternative for PDF generation in Python

December 12th, 2018 / by api2pdf /

Intro Click here to start generating PDFs in Python now! Get going in just a few minutes! ReportLab has been around for a very long time and is one of the more popular options for generating PDFs in the Python programming language. According to its website, it receives 50,000 downloads per month and is included […]

Read More

[Solved] Issue rendering UTF-8 or Unicode characters in HTML and PDFs

December 11th, 2018 / by api2pdf /

Intro Api2Pdf is popular all over the world and therefore we have customers who need to generate PDFs in many different languages. One problem that has come up recently is that a customer needed to render characters from their native language: Dutch. Dutch has some special characters that require unicode or UTF-8. For example, these: […]

Read More

Optimizing Azure Functions to avoid the 300 connection limit

December 2nd, 2018 / by api2pdf /

Intro Api2Pdf is a web service for generating PDFs from HTML, URLs, and Offices files. In order to scale to millions of requests, our backend runs on a serverless architecture. Our infrastructure is comprised of three main components: Web App, located at portal.api2pdf.com and built on .NET Core. The portal allows you to pay for […]

Read More

HTML to PDF with Python and wkhtmltopdf or Headless Chrome

November 22nd, 2018 / by api2pdf /

Intro In this article we will cover converting HTML to PDF format with Python with just a few lines of code and the Api2Pdf API. Api2Pdf is an HTML to PDF API built on AWS Lambda that allows you to produce PDFs at massive scale. Api2Pdf offers both wkhtmltopdf and Headless Chrome as options to […]

Read More

Merge PDFs together with C# and .NET Core

November 18th, 2018 / by api2pdf /

Intro In this article we are going to cover how to merge PDFs together with C# and .NET Core with just a few lines of code using the Api2Pdf dotnet client library. Api2Pdf is a REST API that makes it super easy to generate and combine PDFs. You can view the full documentation of the […]

Read More

Convert powerpoint to PDF with Python and LibreOffice

November 17th, 2018 / by api2pdf /

Intro In this article we are going to demonstrate how easy it is to convert a powerpoint file (ppt, pptx) to a PDF file using Python and the Api2Pdf LibreOffice API endpoint. Api2Pdf is a REST API that makes it easy to generate PDF files from HTML, URLs, and Microsoft Office files. Api2Pdf exposes an […]

Read More

Save a Web Page as PDF – WordPress Plugin

November 12th, 2018 / by api2pdf /

Intro Api2Pdf proudly announces the release of a brand new WordPress Plugin – Save Page to PDF. The purpose of the plugin is to make it easy to add a “Print to PDF” button on any page or article of your WordPress site. If you click the button, it will take the current page and […]

Read More

Using custom fonts with wkhtmltopdf and Headless Chrome

November 12th, 2018 / by api2pdf /

Intro Using custom fonts with wkhtmltopdf or Headless Chrome is pretty straight forward, but there are a few caveats. First, it is important to know what fonts Api2Pdf supports out of the box with both endpoints. By default, if you do nothing but go to the home page of Api2Pdf and print the below HTML […]

Read More

The journey of migrating PDF generation to a serverless architecture

November 6th, 2018 / by api2pdf /

Api2Pdf is a REST API that helps application developers generate PDFs at massive scale. It was co-founded by myself, Zack Schwartz, and my partner Kunal Johar. The two of us also run another company called OpenWater. OpenWater’s customers live and die by PDFs. And they are not normal PDFs either. Often times, the PDFs are […]

Read More

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

November 1st, 2018 / by api2pdf /

Intro You ever run into a bug that is so perplexing you don’t even know where to begin? I’d like to share a story that happened this week. As you may know, Api2Pdf runs on AWS Lambda. AWS Lambda is Amazon’s serverless compute service that lets you scale to countless requests very easily. Our two most […]

Read More