Skip to content Skip to sidebar Skip to footer

How To Convert Html Page To Pdf Using Javascript

I have a java Application which view few results in a web page , I want to save those results into PDF file which user click on a button 'Export to PDF' Button. Can any one please

Solution 1:

The simple and best way is to make use of existing libraries. You can get it done either in server side or in client side. If you choose the server side, go for iText PDF Api Otherwise you can use jspdf. Both will provide their own methods, you could use it.


Post a Comment for "How To Convert Html Page To Pdf Using Javascript"