Forum Discussion
Print button - javascript
Hi, I would like to add a button that would allow the user to print the page. It seems like the easiest way would be to add a trigger to a button to execute javascript. Unfortunately, I know nothing of javascript. Can someone help me out with what need to goes into that script box?
Thank you!!
69 Replies
- TonyVicenteCommunity Member
Can you use this functionality to just print the slide and not the screen? Or maybe just the slide notes? I dont want a whole screen 'dump'. thanks
- DougBedingerCommunity Member
I too want to print only the slide. I tried the javascript option, and it works, but I'm getting 2 pages, not just the one with the print button. Thoughts?
- CajiRCommunity Member
Anyone know how to make the slide (stretch) fit to one page when printed? It's only using half of the page.
- ValCeolinCommunity Member
I was having the same problem Caji.
I reduced my certificate to the side where I can see the printed and after that my French version of the course is working. However, to the English version, even using the same story file and only changing the text to English, when I print the page, the certificate is being squeezed. :(
I only need to know how to print one slide to have a perfect course. Any ideas to solve this problem?
PS: My LMS works only on IE browser 7, 8 and 9.
- ChristineHendriFormer Staff
Hi Val,
Though this method isn't supported by Articulate, it might be something you'd like to try for customizing the printed results. Please note that it's for Quizmaker, but this will work for Storyline, as well.
If that doesn't help with the formatting, or isn't what you're trying to do, can you give a little more information about what you'd like to show when printing the results from your course? Or how the text is displaying when you change it to English (try to provide a screenshot, of the changes if you can)?
Thanks!
Christine
- ValCeolinCommunity Member
I think I had a problem with my English story file. I create a new one and it's working well for both languages. Thanks
- ChristineHendriFormer Staff
Hi Val,
Oh, great! Glad to hear that :)
Thanks very much for the update!
Christine
- IvanaPavcicCommunity Member
Hello there,
I was wondering if anyone in the community could help me.. I have used the javascript desribed in this post to print a certificate that will be unfortuntely printed out with the player. I would like to include a line in the javascript that says "remove the print button before printing". Condering that I know aboslutely nothing regarding java, and my google searches have turned up nothing, does anyone know the actual programming language I can include with the window.print(); command that will do this?
Thanks,
Ivana
- PhilMayorSuper Hero
Ivana Pavcic said:
Hello there,
I was wondering if anyone in the community could help me.. I have used the javascript desribed in this post to print a certificate that will be unfortuntely printed out with the player. I would like to include a line in the javascript that says "remove the print button before printing". Condering that I know aboslutely nothing regarding java, and my google searches have turned up nothing, does anyone know the actual programming language I can include with the window.print(); command that will do this?
Thanks,
Ivana
As Steve says just add a trigger to hide th print button, ensure the trigger is above the javascript trigger - JillMcNairCommunity Member
Anyone know of a way to allow learners to print a multipage document? My client wants learners to be able to print a six page document (a job aid). It is a PDF. I thought perhaps learners could just download the PDF, then prinit it themselves, but the client says that their LMS will not permit that. Seems unusual to me. Any suggestions would be appreciated.
Related Content
- 6 months ago