To print a slide of the published output of storyline

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
Jeremy Stiffler

I don't know if this has been shared yet on here but if you export to Word, then save word as a Web page, it automatically exports all the slides as images in the newly created HTML folder.

I'm also using a combo of Excel, Word and SL2 to create my own single click customized storyboards....a bit overkill but it's what I need and saves a ton of time.

Message me if you would like the specifics on how to do this.

Gaurav Gulati
Ruth McElhone

Hi Divya,

i don't know if this is exactly what you are looking for ....

You can print a slide in Storyline. You need to to create a trigger to Execute javascript code.

Create a trigger like the one below and in the script write the following code...window.print()

However, this will print the slide AND the player...so you may need to customise the slide properties.

Helpful, thanks !!

Ashley Terwilliger

Hi Veronica,

As Wendy mentioned you'll want to test this out by uploading to the intended environment and you could use one of the options in this article or if you'll ultimately be adding it to your LMS you could look at using SCORM Cloud which is an industry standard for LMS testing. This article will walk you through testing at SCORM Cloud. 

Also just an FYI that responding via email includes your signature here so you may want to edit the post to remove that information if you don't want it out in public. 

Veronica Haynes

The intended environment is a shared server for now. The LMS is months away and we need the course today. Can a result slide not be printed unless you have an LMS? I want to print because we don't have the LMS yet and when we do, printing the result slide will no longer be necessary.

 

Ashley Terwilliger

Hi Veronica,

How are you publishing? The print functionality isn't restricted to a publishing method, but if you're publishing to LMS and then only loading onto a non-LMS platform that may be why it's not working correctly. Is the shared server a web server that all users access through a web browser or is it a linked drive on their computers? The latter could be contributing to that behavior - so I'd look at ensuring you're publishing and current environment methods match. 

Leonora Bularzik

TO print a slide I created a button and here is the Javascript I received from a member a long time ago.  It only works on Firefox, so I am also hopeing someone who does Javascript can help us out on this!

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.print();
$("#slidecontainer").offset(whereNow);
}