Hi,
So far as I know, we can use the script below to change the print header
content.
//---------------------
<html>
<body>
<script language=javascript>
var currOrientation;
var currHeader;
var timeoutID;
function window.onbeforeprint()
{
var wshShell = new ActiveXObject("WScript.Shell");
currHeader =
wshShell.RegRead("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet
Explorer\\PageSetup\\header");
wshShell.RegWrite("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet
Explorer\\PageSetup\\header", "<font size=7>This is the header, just put
anything you want</font>");
timeoutID = setTimeout(RestoreSettings, 500, "JavaScript");
}
function RestoreSettings(sID)
{
clearTimeout(timeoutID);
alert("Click OK to continue AFTER dismissing the print dialog");
var wshShell = new ActiveXObject("WScript.Shell");
wshShell.RegWrite("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet
Explorer\\PageSetup\\header", currHeader);
}
</script>
Hello there, hello there<BR>
Hello there, hello there<BR>
Hello there, hello there<BR>
</body>
</html>
//---------------------
For changing the size of the content, we are researching this for you.
Appreciate your patience on the waiting.
Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.