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.
- NitaVenterCommunity Member
Thank you for the share Owen!
- OwenHoltSuper Hero
My pleasure.
- JonWakeman-6a5cCommunity Member
Hi Owen,
I wonder if you might elaborate on your comments in the posted video at about 2:17 where you mention using the print button to capture learner notes throughout the story using the variables. I have that situation with "essay" questions that I'd like to assemble at the end of the lesson for print..... Could you help?
- AndrewWilliams1Community Member
- AndreaGomez-e13Community Member
I get the same error and I don't know what to do :( I'm trying to see if there is a way people can save their certificates in pdf or something like that rather than printing.
- OwenHoltSuper Hero
I just tested it in edge, and while the page set up was a little weird, it printed fine.
I would look at this MS support thread and see if any of the suggestions work for you.
https://support.microsoft.com/en-us/help/973479/unable-to-print-or-view-the-print-preview-of-a-webpage-in-internet-exp - BillHarnageCommunity Member
This works great, but is there a way to print a region of the screen (the slide only) vs the entire player?
What's odd is my player is blue, but when printing only the player buttons show as blue; the rest of the player has no color.
- KarinAmannCommunity Member
Hi Owen, thanks for this PRINT button - it's great! BUT I I have just realized following phenomenon:
Image 1: here you can see the PRINT button, when I go through the course.
When I am working on the slide and exit the course - then restart the course with the question "Would you like to resume where you left off" - clicking on YES - then the PRINT button is again at the top "Image 2)I am using following JavaScript on this slide: $("#tab-customlink").show();
Do you have any idea, what went wrong on my side?
- SteveNixon-af38Community Member
Hi Jeffery, I am trying this now and have problems printing from Edge. I would be grateful to know if you have any more details on the browser issues.
Best, Steve
- JeffreyRileyCommunity Member
Steve,
To be honest, I did not solve printing from Edge. I have told my clients to use either Firefox or Chrome and that has been working. It looks like from comments in the community the results of printing from Edge are mixed. Wish I had a better answer.
Jeffrey Riley
- SteveNixon-af38Community Member
Thanks Jeffery, I just hate saying "you can print this slide but...." in a lesson.
Best, Steve
- MalcolmReid-217Community Member
Hi Owen ... just looked at your tutorial on getting the print button to appear at the bottom of the screen... Great Job!! Two questions:
1. It appears that you would need to trigger the "Hide" script... $("#tab-customlink").hide(); ... on every screen except the one you want to print if you don't want the Player print option to appear on the other screens. Is that correct?
2. I also can not make it work in IE .... any ideas on what settings to check? Thank You!!
-Malcolm
- AnkitBankar-d7fCommunity Member
Print is not working in IE 11.