Video Instruction of Problem Intro If you are using wkhtmltopdf, an open source HTML to PDF library, you might find that sometimes you receive a “ContentNotFound wkhtmltopdf exited with code 1” error. The error is common and can be easily solved. We see it happen frequently with Api2Pdf customers and so we wanted to write […]
Read MoreIntro The following HTML template is excellent if you have a need to print any of the following items to PDF. Generic application form Job application form Contest submission form Award submission nomination form Grant application form Scholarship application form Any kind of database record or form submission If you are a developer, you likely […]
Read MoreDevelopers often run into an issue when converting HTML to PDF that contains tables. The issue is that if the content runs onto the next page, the table headers (<thead>) and footers (<tfoot>) are repeating and overlapping on each other when they shouldn’t be. This happens on both wkhtmltopdf and Headless Chrome. In fact, it […]
Read MoreIntroduction If you are on this article, you already know what a watermark is, but just to be sure, it is a way of adding an image to a document to show where it was generated from or to avoid tampering for some reason. A common use of watermarking is to add the word DRAFT […]
Read MoreIntro TCPDF is an open source library to convert HTML to PDF in PHP. There are some key advantages to this. No external dependencies — can generate basic PDFs straight from PHP code. Free This might be okay for some, but there are issues with TCPDF. With a pure PHP implementation, you run into serious […]
Read MoreIntro Adding a header, footer, and page numbers to your PDFs with wkhtmltopdf is rather straight forward. We provide a list of advanced options here. Wkhtmltopdf is a popular open source PDF rendering engine. The techniques described below will work for wkhtmltopdf as well as Api2Pdf. Api2Pdf is a web service that helps you convert […]
Read MoreIntro It is quite common, when tasked with generating a PDF report, or PDF book of some kind that you are required to break up the PDF into separate pages, or items. Typically an item will span multiple pages, and you want the next item in the PDF to start on a brand new page, […]
Read MoreOur mission at API2PDF is to help developers use AWS Lambda to generate PDFs from HTML as cheaply and quickly as possible. Our two most popular rendering engines are WKHTMLTOPDF and Headless Chrome. Goal: Find out when it is cheaper to use WKHTMLTOPDF vs Headless Chrome. Testing Methodology In our analysis today we are going […]
Read MoreApi2Pdf prides itself on providing developer-level support. Our team here is made up entirely of full-stack developers who care about building and maintaining a low cost, easy-to-use PDF rendering engine. While we want to support you in the best way possible, it is not feasible to debug each and every one of your custom applications. […]
Read MoreWe released the full code and documentation on Github: https://github.com/Api2Pdf/api2pdf.php. As Api2Pdf gains in popularity due to its low-cost and simple to use API for converting HTML to PDFs, we have started to get requests for libraries and packages in other languages. The most heavily requested is PHP. Therefore, we wrote the PHP code for […]
Read More