home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2001 July / VPR0107A.BIN / SHDOCLC.DLL / HTML / PSTEMPLATE.DLG < prev    next >
Text File  |  2000-06-19  |  797b  |  30 lines

  1. <HTML XMLNS:IE>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=shift_jis">
  4. <?import namespace="ie" implementation="#default">
  5. <script>
  6. function HandleError(message, url, line)
  7. {
  8. var L_Dialog_ErrorMessage = "[ページ設定] ダイアログを表示するときにエラーが発生しました。";
  9. var L_ErrorNumber_Text = "エラー : ";
  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.