<html>  
  <head><tilte></title></head>  
  <SCRIPT   LANGUAGE=javascript>  
  function   setPrint()  
  {  
  factory.printing.PageSetup();  
  }  
  function   previewPrint()  
  {  
  WB.ExecWB(7,1)  
  }  
  function   initPrintSet()  
  {  
  factory.printing.header   =   "Hello   Ken";  
      factory.printing.footer   =   "Good   Bye   Ken";  
      factory.printing.leftMargin   =   8;  
      factory.printing.topMargin   =   1.5;  
      factory.printing.rightMargin   =   0.75;  
      factory.printing.bottomMargin   =   1.5;  
      //factory.printing.printBackground   =   true;  
      factory.printing.portrait   =   false;  
  }  
  </SCRIPT>  
     
  <body   onload="initPrintSet()">  
  <OBJECT   class>  
  </body>  
  </html>

相关文章: