Forum Discussion

JoanneChen's avatar
JoanneChen
Super Hero
3 years ago

Print out the certificate without buttons on the screen

There are many ways to create a certification after a final quiz in Storyline. Matthew Bibby shared Six Ways to Generate a Certificate of Completion. But if you are like me preferring editing and viewing certification layout directly in SL and do not like adding extra files into storyline output file  after each time publishing. This is the article for you. 

Of course you can add a certification slide in SL. Other than the score, you will also need showing user name and date on the certification. 

You may already know that we can add a print button and have users print a slide with a simple JS code below:

window.print();

 

But you will encounter the print icon also shown on the image. And that's definitely shouldn't be existed on a certification.

So here is how I get rid of  those buttons.

  1. Put buttons on another layer.
  2. Add a hide layer trigger before the print trigger.  

That's it.

Demo

  • BWoods's avatar
    BWoods
    Former Staff

    Hi Joanne,

    This is a really cool solution for adding a printable certificate! And hiding the buttons on another layer to prevent them from being on the printed certificate is such a smart way to tuck them out of sight!

  • Hi Hilary, you shouldn't need that code anymore there is now a print trigger that does the same thing, Joanne post still hold for how to remove the buttons.

  • Hi Hillary,

    If you make the certificate slide in a lightbox, you will be able to print the certificate slide without player menu in classic player.

  • NellyBARDET's avatar
    NellyBARDET
    Community Member

    Hi,

    Thank you for this solution. I would like to take this opportunity to raise another question: How do I print the certificate in A4 format?