home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 November / Chip_2001-11_cd2.bin / ie6en_atlas / IEW2K_3.CAB / shdoclc.dll / HTML / PSTEMPLATE.DLG < prev    next >
Text File  |  2001-08-17  |  762b  |  30 lines

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