Forum Discussion
Print ANYTHING in StoryLine
By adding a new tab in the player properties panel and assigning it to execute the "window.print();" JavaScript, you can allow your participants to print any/every slide in your StoryLine projects including "Notes" or "Certificate" slides! No need to create a complex JavaScript course certificate solution, simply build a beautiful slide and let your users print it directly from the StoryLine player!
For SL 3 and 360 users, you can also move, reformat, hide, and reveal the button so you can take control over what users can print.
I've included the screen shots I used in the video in the attached Word document along with the JavaScript code snippets and an SL3 .story file.
206 Replies
- JeffreyRileyCommunity Member
Is there a problem showing the variables on one slide or is the issue the slide does not print?
- DonnaWestwoodCommunity Member
both - too much text for one slide - and I can't get it to print either!!
- DonnaWestwoodCommunity Member
Yay it's working!!! - question for Owen - I also have a Exit button up there on the player - trouble is chrome dev tools call it tab-customlink as well - no numbering or anything - any work around for this?? or do I have no option but to remove my exit tab??
- OwenHoltSuper Hero
You will need to do a little extra step if you have multiple custom buttons to give them each their own unique ID. This video will walk you through the steps.
- DonnaWestwoodCommunity Member
Can someone give Owen a medal or something?? And why isn't he an elearning hero already?? - he has saved my bacon a few times now!! THANKS SO MUCH! you sir are a gentleman and a scholar.... :)
- SylviaWrightCommunity Member
I'm with Donna...Give that man a medal! He's done the community a HUGE favor!
- KenCookCommunity Member
Very cool. Thanks for sharing.
- SylviaWrightCommunity Member
Owen, this is terrific!
- SylviaWrightCommunity Member
Owen, I can't get the print function to work in the Articulate player on my iPad. Is there something else that needs to be done to get it to work there? THANKS!
- OwenHoltSuper Hero
JavaScript triggers are supported in HTML5 and Flash published output. However, JavaScript isn't supported in the Articulate Mobile Player app. (For a full comparison of the different players, see this article.)
- SylviaWrightCommunity Member
Thanks so much Owen! More to learn :)! But I did discover that if I publish without the mobile player option that the file runs just fine in the browser and the print function works great :).
- kweglarz-5f14c9Community Member
Owen, I'm attempting this but coming up with a blank page when testing in Chrome. Do you know what I could be missing here?
- OwenHoltSuper Hero
Hard to say without seeing your file. What version of SL are you using? Which page is blank? Print preview? The whole browser/SL Player?
- kweglarz-5f14c9Community Member
Related Content
- 11 months ago
- 11 months ago
- 11 months ago
- 10 months ago
- 11 months ago