print.html 816 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title></title>
  5. <style type="text/css">
  6. body{background:white;margin:0px;padding:0px;font-size:13px;text-align:left;}
  7. .pb{font-size:13px;border-collapse:collapse;}
  8. .pb th{font-weight:bold;text-align:center;border:1px solid #333333;padding:2px;}
  9. .pb td{border:1px solid #333333;padding:2px;}
  10.   </style>
  11. </head>
  12. <body>
  13. <script type="text/javascript">
  14. document.write(window.dialogArguments);
  15. function CloseAfterPrint() {
  16. if (document.execCommand("print")) {
  17. window.print();
  18. window.close();
  19. }
  20. }
  21. CloseAfterPrint();
  22. </script>
  23. </body>
  24. </html>