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.
- 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
- OwenHoltSuper Hero
I'm not seeing the same behavior. When I publish and open in chrome, everything seems to work just fine.
- TracyCarrollCommunity Member
Hi Owen,
I've tried this in Chrome, Firefox, and Edge, and I cannot get the Print Page tab to show up. When I click on David Anderson's Articulate Review example, I don't see the Print Page tab on the example.
I'm wondering if something has changed since this example was published? Is David's published example working for anyone? https://360.articulate.com/review/content/3ba1dd6a-db77-4452-bb4b-ca6cd211c83f/review - OwenHoltSuper Hero
There is something strange going on with his published example. If you refresh the page and watch closely, you will see the Print Tab there for a brief moment. I wonder if something changed in SL 360 that might be causing this? Maybe a new bug?
It is still working fine for me in my published files using SL3.- TracyCarrollCommunity Member
Yes, I noticed that. The same thing happens to my SL 360 published version--a brief flicker of the Print Tab, then it disappears.
- OwenHoltSuper Hero
My work didn't spring for 360 so I am unable to troubleshoot that. The fact that it is a new/recent behavior tells me they changed something in the code. I would shoot support an email.
- LeisaLoganCommunity Member
Thank you for the sample
great work
I works for me in firefox and chrome but it will not print in IE
any ideas
- OwenHoltSuper Hero
Still working for me in IE. Maybe a browser setting?