It can irk those that don't want this but there's nothing wrong here. Just update your instructions on how to print to the users.
Below code works for IE (11,10) in Windows 7, but does not work in Windows 10.
var PrintCommand = '<OBJECT ID="PrintCommandObject" WIDTH=0 HEIGHT=0 ';
PrintCommand += 'CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
PrintCommandObject.ExecWB(6, 1); PrintCommandObject.outerHTML = "";
document.body.innerHTML = oldPage;
From below link looks like MS ripped out Active X from Windows 10.
Is there any alternative to this?