Forum Discussion
Javascript - Printing PDF Notes
Hello!
I have a pdf that the learner needs to be able to print. (The learner doesn't add anything to the PDF, none of those variables such as learner name are needed.)
I vaguely remember a PDF can be saved as part of the storyline LMS export. I have tried saving the notes PDF in the story_content folder.
Then in the course the learner can click "Print" and there is JS that allows the pdf that is saved in the storyline content to be pulled and printed.
Can anyone point me in the right direction of where I may have seen this or JS that you have used in the past? Was this a fever dream?
Thanks in advance!
Hello Jessica!
Thanks so much for reaching out.
In our newest versioning release of Storyline 360 ( Build 3.67.28569.0), we have made the ability to have learners print individual slides with a single trigger.
Here is an article that explains the step-by-step instructions without having to use coding within your project:
Storyline 360: Print Slide Trigger
If you are still having trouble getting this PDF to print within your project, I'd recommend opening a support case with our talented Support Engineers. Then we can take a closer look at your file to better assist you.
I hope this helps!
- JessicaDavis-37Community Member
Good afternoon,
Thanks for this information! Can I put a PDF file on a slide to be printed? I was under the impression that wasn't possible.
Hi Jessica,
It looks like you connected with my teammate, Mick, about this. Please let us know if you have additional questions!
- JohnCooper-be3cCommunity Member
Hi Jessica - I've just posted a reply to another post that may be of interest if you haven't solved this already. Your post came up in the "Related Content" column.
Export course to a PDF (with variables) - Articulate Storyline Discussions - E-Learning Heroes
- ikbelsassiCommunity Member
hi,
i need to add button with JS code to generate PDF file for one slide. i ve tried "var doc = new jsPDF('landscape');" but it does nt work. can any one help me ,