Leaked source code of windows server 2003
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
848 B

  1. <HTML XMLNS:IE>
  2. <HEAD>
  3. <?import namespace="ie" implementation="#default">
  4. <META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
  5. <script>
  6. function HandleError(message, url, line)
  7. {
  8. var L_Dialog_ErrorMessage = "An error has occured raising the Page Setup Dialog.";
  9. var L_ErrorNumber_Text = "Error: ";
  10. var str = L_Dialog_ErrorMessage + "\n\n"
  11. + L_ErrorNumber_Text + line + "\n"
  12. + message;
  13. alert (str);
  14. window.close();
  15. return true;
  16. }
  17. function BodyOnload ()
  18. {
  19. Printer.showPageSetupDialog();
  20. window.close();
  21. }
  22. window.onerror = HandleError;
  23. </script>
  24. </HEAD>
  25. <BODY onload="BodyOnload()" scroll=no>
  26. <!-- Printer control whose only purpose in this template is to raise the pageSetup dialog -->
  27. <IE:TemplatePrinter id=Printer />
  28. </BODY>
  29. </HTML>