Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate PDF using HTML5 and JavaScript

I have a project in HTML5, I have used canvas in it. I want to export the content of the canvas to a PDF file.

Can anyone suggest how can I do that using either JavaScript or jQuery or any other JavaScript library?

like image 661
Tejas Patel Avatar asked Feb 23 '12 09:02

Tejas Patel


1 Answers

Try this : http://jspdf.com/ It is a HTML5 JavaScript PDF generation library.

like image 139
abhishekp Avatar answered Sep 28 '22 09:09

abhishekp