Posts Tagged ‘generate-pdf’


Free Bootstrap 4 HTML Template for Displaying Database Records to PDF

October 7th, 2018 / by api2pdf /

Intro 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 More

OpenStreetMap + LeafletJS + PDF

September 5th, 2018 / by api2pdf /

Introduction Generating a map is hard enough.  Google has recently clamped down on their APIs which has left developers scrambling for open source solutions.  In today’s article we will take a look at how to embed an OpenStreetMap tile into a PDF using LeafLet.js. For our example, we have taken an example from the Leaflet.js […]

Read More

tinyMCE Save to PDF Plugin

August 15th, 2018 / by api2pdf /

Intro TinyMCE is a battle tested and widely used WYSIWYG html editor. In this post we will discuss how to use our open source plugin for saving the document to PDF. Example Code + Demo Feel free to check out our github page for detailed step by step documentation. HTML Code The above HTML code […]

Read More

WKHTMLTOPDF vs Headless Chrome – PDF Size Comparison

August 6th, 2018 / by api2pdf /

Our 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 More

Export AnyChart graph to PDF with wkhtmltopdf

July 24th, 2018 / by api2pdf /

Intro We previously made a post on how to export a HighChart graph to PDF using the wkhtmltopdf endpoint. This time we are going to cover AnyChart, which is arguably better than HighCarts in many areas. In this post we are going to cover printing an AnyChart graph to PDF with wkhtmltopdf. Sample Code The […]

Read More

PHP code for converting html to PDFs using Api2Pdf now released

July 18th, 2018 / by api2pdf / No Comments

We 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

MuleSoft – Convert HTML, URLs, and Office Docs to PDF with MuleSoft

July 14th, 2018 / by api2pdf / No Comments

This blog post is a walk-through on how to generate PDFs from HTML, URLs, and Office Docs (word, excel, powerpoint, etc) from MuleSoft with the help of Api2Pdf.com. MuleSoft and it’s Anypoint Platform technology allows you to write API specifications in order to connect different applications together. Think of it as a tool that designs […]

Read More

Generate PDF Report with Highcharts and wkhtmltopdf

July 11th, 2018 / by api2pdf / No Comments

Intro As a developer, you might be tasked with the challenge of generating some kind of report to PDF. The report requires graphs like line graphs, bar charts, pie charts, etc. You figure you can generate the report in HTML and then print the HTML to PDF. Great plan, let’s do it. My favorite library […]

Read More

IFTTT – Save any Pocket article as PDF and Email it as Attachment

July 8th, 2018 / by api2pdf / No Comments

This post will provide step by step instructions for converting any article saved on Pocket to a PDF and then emailing that PDF as an attachment using IFTTT (If This Than That). This post assumes you have an account with IFTTT already. Step 1: Sign up for free Create an account on Api2Pdf.com. Step 2: Test out […]

Read More

IFTTT – Convert a URL to PDF and Email PDF as Attachment

July 8th, 2018 / by api2pdf / No Comments

This post will provide step by step instructions for converting any web page to a PDF and then emailing that PDF as an attachment using IFTTT (If This Than That). This post assumes you have an account with IFTTT already. Step 1: Sign up for free Create an account on Api2Pdf.com. Step 2: Test out the Url […]

Read More