To print a slide of the published output of storyline
Mar 13, 2013
Hi,
I was wondering, if there is a way to print the actual slide of the Storyline output.
My team and I have created Assessment with a Result's slide (as it is available in the templates). We have designed a certificate on this Results page, which gives us an option to review the assessment and print the result. What we observed is that the Print Result button displays the learner's performance (with all the details of the questions attempted) and not a Certificate as such. What we want the learner to print is the actual certificate that we have designed on the result's page. We don't want the learner to print the Print Result with all the question info.
Is there any way that we can do this?
Please help soon.
81 Replies
Also do this: I did get this from elearning brothers
First, you will need to decide which slide to use the Print function on. If you want to use it on all slides, select the Slide Master. Then, follow the steps below:
1. Select the slide (or master).
2. Click the Insert Tab on the ribbon.
3. Click the “Flash” button and insert the printSlide.swf included in the package.
4. Move the printSlide.swf out of your way.
5. Select the button, image, etc. that you want to use as the trigger for printing.
6. Add a JavaScript trigger.
7. Insert the JavaScript in the Code section below.
8. Publish your course.
9. IMPORTANT: Test from a server or LMS.
If you do both steps it works for google, firefox and explorer.
Many thanks for sharing that information, Leonora! Hopefully that will come in handy for others who come across this discussion seeking assistance.
You are welcome. I know how much others have helped me!
Thank you, everyone, for your suggestions.
Hi, Veronica -- I just wanted to stop in to mention in case you were not aware, when you reply to a forum notification via email, the details in your signature are displayed publicly in the post. If you'd like to remove that info, please click here to be taken to the discussion itself, and then use the EDIT button below your reply.
Thanks!
Hi Lenora
I am stuck and am just getting the blank screen print that others got when creating a print screen button - where do you get the elements to do this method? - "... insert the printSlide.swf included in the package."
Hi Lizzie,
Did you confirm that you're testing the published output by uploading to your final intended environment such as your web server or LMS? You'll want to confirm you're testing it in the intended environment as testing it locally could cause elements to not work as expected.
Here is the website:
http://elearningbrothers.com/printing-slides-articulate-storyline-2/
brilliant thanks! - i couldn't find that on their website earlier
The E-learning brothers method worked for me except all the transparency on my png images are now white??
any suggestions
Hi Steven,
This forum discussion is a bit older so I may suggest connecting with individuals directly using the "contact me" button on their profile to see if they had specifics of how to accomplish it with the E-Learning Brothers templates and methods.
Hi, Jeff,
Did you buy the widget? Did it work? What is it? Thanks.
Hi Sue,
Just in case Jeff is no longer subscribed here, you can also message him directly using the "contact me" button on his profile. Hope you're able to track down the printing widget you need!
I'm not sure if something updated but in past I had trouble with the JS print command too,
While doing some more troubleshooting, I noticed
This was in Storyline 2.
Does anyone know if this still works in Storyline 360. I have done the Javascript trigger on an icon and a button, but nothing seems to happen. I have tried exporting to Web (HTML5) and CD, as well as Articulate 360, but it doesn't do anything at all. I am also having a similar issue with a Javascript trigger to send an email, nothing happens. Any ideas what might be blocking the Javascript triggers?
Hi there Katie!
Javascript isn't something our team supports, but we do have quite a few Java-savvy folks in this community who can help. If you share a sample of your file here, hopefully they can take a peek at your set-up and make recommendations!
Hello everybody,
I'm currently working on a project where I want my learners to print what they just wrote. I use the js code : window print();
Results are very different :
Is there anybody found out how to print from their LMS platform?
Thank you for your time and your answers
Have a nice day!
Hi , I want to print part of slide? What should i do?
Hi Saied,
What element on the slide are you looking to print?
Any more information you can share will help the community offer additional insight, as printing just a slide or items on the slide isn't something built into Storyline.
this code works well for me the only problem is it doesn't support transparency of .png files.
if (document.location.href.indexOf('html5') < 0) {
GetPlayer().printSlide()
} else {
if(!window.hasPrintStyle){
window.hasPrintStyle = true;
var css = '@media print {body * {visibility: hidden;}#slidecontainer, #slidecontainer * {visibility: visible;}#slidecontainer {position: absolute;left: 0;top: 0; }#slideframe {overflow: visible;}}',
head = document.head || document.getElementsByTagName('head')[0],
style = document.createElement('style');
style.type = 'text/css';
if (style.styleSheet){
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
head.appendChild(style);
}
var whereNow = $("#slidecontainer").offset();
$("#slidecontainer").offset({top:0,left:0});
window.open( window.print());
$("#slidecontainer").offset(whereNow);
}
Needs to be attached to a trigger button obviously.
Thanks Steven, incredibly helpful!
Hi, I know there hasn't been an updated on this thread for a while... howeverI am trying to print the results slide or print a certificate however none of the options mentioned above are working for me. Is there any suggestions on a different javascript that might work? I am using Google Chrome, so preferably something that works for Chrome.
Hey Maria!
You are certainly welcome to reach out to the user directly via the 'Contact Me' option on the user profile if you do not hear back soon.
I wanted to pop in and welcome you to E-Learning Heroes though :)
This discussion is closed. You can start a new discussion or contact Articulate Support.