40 lines
809 B
Plaintext
40 lines
809 B
Plaintext
|
<HTML XMLNS:IE>
|
||
|
<HEAD>
|
||
|
<?import namespace="ie" implementation="#default">
|
||
|
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
|
||
|
|
||
|
<script>
|
||
|
|
||
|
function HandleError(message, url, line)
|
||
|
{
|
||
|
var L_Dialog_ErrorMessage = "An error has occured raising the Page Setup Dialog.";
|
||
|
var L_ErrorNumber_Text = "Error: ";
|
||
|
|
||
|
var str = L_Dialog_ErrorMessage + "\n\n"
|
||
|
+ L_ErrorNumber_Text + line + "\n"
|
||
|
+ message;
|
||
|
|
||
|
alert (str);
|
||
|
window.close();
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
function BodyOnload ()
|
||
|
{
|
||
|
Printer.showPageSetupDialog();
|
||
|
|
||
|
window.close();
|
||
|
}
|
||
|
|
||
|
window.onerror = HandleError;
|
||
|
|
||
|
</script>
|
||
|
</HEAD>
|
||
|
|
||
|
<BODY onload="BodyOnload()" scroll=no>
|
||
|
<!-- Printer control whose only purpose in this template is to raise the pageSetup dialog -->
|
||
|
<IE:TemplatePrinter id=Printer />
|
||
|
</BODY>
|
||
|
</HTML>
|