ScriptX is used in a simple manner. There are two buttons on the html page to choose portrait or landscape with javascript functions:
function soforthoch()
{
factory.printing.portrait = true;
factory.printing.Print()
}
function sofortquer()
{
factory.printing.portrait = false;
factory.printing.Print()
}
The table itself is formatted with css:
<style type="text/css">
table,tr,th,td {font-family:verdana; font-size:small; font-weight:normal; color:#000000; border-collapse:collapse; border:solid 1pt black;}
thead {display: table-header-group;}
tfoot {display: table-footer-group;}
@media print
{
input{display:none;}
}
</style>
Yes, the problem occurs also with IE print preview only. I tried IE 8-11. Firefox works fine.
I don't understand what is happening. In 2008, when I implemented ScriptX and tested thoroughly (with IE6 or IE7), it worked fine.