Forum Discussion
Multi-Page Download to PDF Functionality
jsPDF will allow more than one page also there are other tutorials on here that show how this can be done
Hey Phil, thank you so much for your quick response! I found this article, but it's not a jsPDF walkthrough. Could you help point me in the right direction?
- JohnCooper-be3c7 months agoCommunity Member
Hi Ashley
The article you refer to is one of mine in which I was advocating the use of the pdf-lib JavaScript library. We used to use jsPDF but almost always now we use pdf-lib. The advantages are set out in the article - but here's another one that might be relevant - when you create a downloadable file using pdf-lib you can create it by filling in a pdf form template - therefore when you insert your learner's text into a text field in the template you can specify it is 'scrollable'
If you want to see that in action there's a very short demo here
if you just copy a very long piece of text into the body of the note and submit you will see what I mean.
- PhilMayor7 months agoSuper Hero
John’s is the example I would go with for multi page. I still like pdfMake for single pages.
Sent from my iPhone