Archive for the ‘Example Uses’ Category

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

Free Bootstrap 4 Packing Slip HTML Template

July 28th, 2018 / by api2pdf /

Intro Software developers often have to deal with the real world in the form of shipping products. This is quite common with online shopping sites. Everyone is familiar with a packing slip that is included in the box they receive along with their delivery. As a developer, it is likely your responsibility to write code […]

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

Generate Custom PDFs from HTML with ScriptCase and Api2Pdf

July 21st, 2018 / by api2pdf / No Comments

Intro ScriptCase is a web development platform built on PHP that helps you put together web apps really quickly with less code. Connect to your database of choice, and start generating graphs, reports, and anything else you need. ScriptCase is great because it allows you to generate PDFs out of your stored data. You can […]

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 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 of Invoice or Receipt with wkhtmltopdf or Headless Chrome

July 12th, 2018 / by api2pdf / No Comments

If you’re a developer building some kind of shopping cart or checkout mechanism, chances are you will have to provide functionality to generate invoices and receipts in PDF format. This can be a real hassle, especially if you’re deployed in a cloud infrastructure like AWS, Azure, or Heroku. The easiest way to generate a PDF […]

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