PDF Generate with JavaScript

5

JSPdf provides an API to generate PDF files on-the-fly using JavaScript.
This API is supported by all the HTML5 browsers ( IE6+*, Firefox 3+, Chrome, Safari 3+, Opera)
Download Latest JSPDF library from https://github.com/MrRio/jsPDF/zipball/master

1) How to Generate PDF with Javascript

List of APIs provided by JSPDF.

2).Download the generated PDF File

JSPDF lib generates pdf at the browser and provides an option(using data-uri) to download. But it is not working all browsers.
You can download the generated PDF using Downloadify plugin.
Downloadify plugin provides an option to download any file(not only pdf) generated at browser.

 

Leave A Reply

Your email address will not be published.