+ 4

HTML to (.PDF, .ODT, ...)

Hey team, How would you do to make a <div> downloadable on click in PDF or document in A4 size per exemple ? _ I dont want to print all my page in PDF with CTRL+P. _ I dont want to use an external website neither ! I want one click of the user on a <button> to make it PDF Thanks for your time and have fun !

16th Mar 2017, 10:15 AM
coutable.n
coutable.n - avatar
2 Réponses
+ 3
Exactly ! Thanks Oscar nice job 😁
17th Mar 2017, 2:50 PM
coutable.n
coutable.n - avatar
+ 1
you need aditional library, like fpdf and works with php. the implementation with your did its really easy. take a look end try.
17th Mar 2017, 2:16 PM
Oscar Muñoz
Oscar Muñoz - avatar