• Error parsing XSLT file: \xslt\Breadcrumb.xslt

Community Forum

IE 11 hang when print with Scriptxv7.1.0.60 (1)

Profile Image 1 Posts 1 Karma
snowfrost posted this 06 March 2020

Hi All,

 I am using ScriptX v7.1.0.60 for my website printing and recently we encountered the following error :

"This webpage wants to run 'MeadCo ScriptX' which isn't compatible with Internet Explorer's enhanced security features. If you trust this site, you can disable Enhanced Protected Mode for this site and allow the control to run' .

I have click on the 'Run control' button and it can pop out the Print window . But if I click on the 'Cancel' button, the whole IE browser will hang and I have to close the whole browser.  The following error will keep coming back if I cleared the cache of my browser.

Below is my code . Anyone know how to resolve this issue ?

<script language="JavaScript">

function PrintReceiptPage()
{

var h = factory.printing.header;
 var f = factory.printing.footer;
 factory.printing.header = "";
 factory.printing.footer = "";
 
 factory.printing.Print(false); 
 factory.printing.header = h;
 factory.printing.footer = f;

 window.close();
}


setTimeout("PrintReceiptPage();",500);
</script>

 

 

 

Post Edited 06 March 2020