Printing Slides or variables
Aug 14, 2014
I need to print a variable being posted to a screen via a token. I either need to print the variable itself or print the screen content. I have used the standard window.print(); with no results. Just prints an empty page. Any quick suggestions?
Code generating the variable
var player = GetPlayer();
var codeArray=[25969721,86127535,37629071,92555228,95399693,77035955,41918741,62963174,11419934,18680965];
completionCode=codeArray[Math.round(Math.random()*(codeArray.length-1))];
player.SetVar("completionCode",completionCode);
Code i have tried to print with:
window.print();
window.self.print();
parent.window.print();
6 Replies
Any thing here would be great. Havent figured a solution. window.print doesnt work.
I need help with this also.
Hi Helena! This thread is a bit dated, but hopefully someone with some JavaScript knowledge will be able to assist you.
Thank you. I keep getting a blank page.
Same problem here.
Hi Daniela!
Have you taken a look at other forum threads for assistance, like this one?
This discussion is closed. You can start a new discussion or contact Articulate Support.