Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
809 B

<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>