您现在的位置是:首页 >

长图打印自动分页 有分页功能的WEB打印

火烧 2022-07-10 12:38:00 1048
有分页功能的WEB打印    lt gt lt head gt lt title gt 看看 lt /title gt lt meta equiv= Co te t Ty e co te t= tex

有分页功能的WEB打印  

  <> <head> <title>看看</title> <meta equiv= Content Type content= text/; charset=gb > <! media=print 这个属性可以在打印时有效 > <style media=print> Noprint{display:none;} PageNext{page break after: always;} </style>

  <style> tdp { border bottom: solid # ; border left: solid # ; border right: solid #ffffff; border top: solid #ffffff; } tabp { border color: # # # # ; border style: solid; border top width: px; border right width: px; border bottom width: px; border left width: px; } NOPRINT { font family: 宋体 ; font size: pt; }

  </style>

  </head>

长图打印自动分页 有分页功能的WEB打印

  <body > <center class= Noprint > <p> <OBJECT id=WebBrowser classid=CLSID: F A D A B C FD A height= width= > </OBJECT> <input type=button value=打印 onclick=document all WebBrowser ExecWB( )> <input type=button value=直接打印 onclick=document all WebBrowser ExecWB( )> <input type=button value=页面设置 onclick=document all WebBrowser ExecWB( )> </p> <p> <input type=button value=打印预览 onclick=document all WebBrowser ExecWB( )> <br/> </p> <hr align= center width= % size= noshade> </center>

lishixinzhi/Article/program/Java/JSP/201311/19124  
永远跟党走
  • 如果你觉得本站很棒,可以通过扫码支付打赏哦!

    • 微信收款码
    • 支付宝收款码