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

This discussion is closed. You can start a new discussion or contact Articulate Support.