Forum Discussion
Hide Print button before printing.
I have added a certificate with an Exit and a Print button, but would like to somehow hide the buttons before it actually goes to the printer. Is there a way to do that?
8 Replies
- MichaelHinzeCommunity MemberI'm not sure I understand the question. For data to 'go to the printer', doesn't a Print have to be displayed (and pressed) first? - JanicePericichCommunity MemberYes, it would need to be displayed but then I wondered if it could immediately be hidden so the button image doesn't print on the certificate. I tried playing with putting the buttons on a separate layer but couldn't figure out how to send just one layer to the printer. 
 
- JanicePericichCommunity MemberAre there any additional parameters with the window.print() that would tell it to print only the base layer, for example? 
- Janice, this is just a shot in the dark, but can you recreate that slide (but without the Print button) and have the Print button jump to that duplicate slide with a trigger to print the page when the timeline starts? I don't think that you could natively exclude something on a slide from printing otherwise. 
- MhairiLongmuirCommunity MemberDid you get an answer to this please? 
- Hi Mhairi! - We're happy to help you figure out a way to hide the print button before printing. It would be helpful to understand what you've created so far. Are you using the Print trigger on the Results Slide? - If you can provide more details about what you're interested in building, I'm sure we can point you in the right direction! 
- PriyankaRast725Community MemberHi Lauren, I am facing the same issue with printing a certificate for one of my SL courses. I am not so familiar with JS coding. So, have retrieved the code from Tracy Carroll's site. However, when I print the certificate the print btn appears alongside. Can you please help me with printing the certificate without the print btn? Happy to share the file privately. Thanks. - JoanneChenSuper HeroHi Priyanka, I just wrote an article about how to create a certification in SL without print BNT showing together. Hope this can help your issue.