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 MoreIntro 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 MoreIntro 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 MorejsPDF 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 MoreIf 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 MoreIronPDF is a C# library for converting HTML to PDF, URLs to PDF, and images to PDFs. Additionally, it supports extracting data and images from existing PDF files. And finally, you can merge, split, and manipulate PDFs as well. It’s built exclusively for C# and .NET developers. IronPDF is similar to iTextSharp, another .NET PDF […]
Read MoreFixing the Issue localhost is your development machine. If you send a url to a PDF to API2PDF that is localhost, there is nothing API2PDF can do. Localhost is your own machine, and API2PDF lives in the cloud on AWS Lambda, so it has no access to your file. That is why when you send […]
Read MoreWe ran into a tough debugging issue this morning when a customer wrote in saying that our .NET client library was not generating his PDFs in ‘landscape’ mode while using Headless Chrome. The customer provided all of their C# code and I went to work trying to figure out what’s going on. He was using […]
Read MoreWe sometimes receive support requests asking how API2PDF can access a secure a page on your website when using the wkhtmltopdf/url or chrome/url endpoints as shown below. A secure page means that it is behind some kind of login wall. When using a URL to PDF endpoint, API2PDF will take your URL that you provided, […]
Read MoreThis post is for individuals who are trying to connect to API2PDF via code. Depending on how you are connecting to API2PDF, or any service that is behind Cloudflare really, you might find that you are getting an error like so: Access denied | v2018.api2pdf.com used Cloudflare to restrict access. The owner of this website (v2018.api2pdf.com) […]
Read More