novi4ok123 posted this 10 January 2017
Hello!
I have free licensed ScriptX version 7, and I have iframes from which I want to print html page...
So, when I print first iframe all is working fine, then I print another frame, and also all is OK, but when I returned to first frame, and want to print it , I get an JS error
Only one ScriptX object can be used per browser window.
Here is my declaration:
<!-- MeadCo ScriptX -->
<object id="factory" style="display:none"
classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
codebase="/smsx.cab#Version=7">
</object>
and printing code:
factory.printing.header = \"\";
factory.printing.footer = \"\";
factory.printing.portrait = true;
factory.printing.leftMargin = 0;
factory.printing.topMargin = 0;
factory.printing.rightMargin = 0;
factory.printing.bottomMargin = 0;
factory.printing.Print(false);
P.S in each frame page I have this code...
So any advices, please?