この記事には、無料のJMPラーニングキットの証明書を印刷するためのコードとグラフィックが含まれています。
印刷コード
Kitはname変数を渡し、jsは残りを行います。 (これは画像をレンダリングしていません)

';
contents+='
';
contents+='';
contents+='JMP Customer Care Certifies That';
contents+=''+username+'';
contents+='HAS SUCCESSFULLY COMPLETED';
contents+=''+course+'';
contents+='WITH A SCORE OF';
contents+=''+score+'%';
contents+='';
contents+='
';
contents+='';
contents+=''+date+'';
contents+='';
contents+='
';
contents+='
';
contents+='
';
contents+='';
myWindow.document.write(contents);
myWindow.document.close();
myWindow.focus();
myWindow.print();myWindow = window.open("","Print","width=900,height=700,scrollbars=0,resizable=0");
var player=GetPlayer();
var course=player.GetVar("CourseName");
var username=player.GetVar("NewName");
var date=player.GetVar("SystemDate");
var score=player.GetVar("ScorePercent");
var contents ='<STYLE type="text/css">';
contents+='h2 {font-family:"Museo Sans For Dell"; font-size:20px; color:#333333}';
contents+='h3 {font-family:"Museo Sans For Dell"; font-size:30px; color:#0085C3}';
contents+='h4 {font-family:"Museo Sans For Dell"; font-size:16px; vertical-align:bottom}';
contents+='</STYLE>';
contents+='