home *** CD-ROM | disk | FTP | other *** search
/ startrek.net - Powered by Earthlink / startrek.net-earthlink-2002-06-cd.iso / pc / Windows / Msie / IEMIL_3.CAB / SHDOCLC.DLL / HTML / PSTEMPLATE.DLG < prev    next >
Text File  |  2000-10-20  |  712b  |  29 lines

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