Thank you

解决方案 »

  1.   

    论坛或者文档中心 搜索一下
    有用iecontrol结合vbscript实现打印的
    可以设置不显示页面和页角
      

  2.   

    <head>
    <style media="print">.Noprint { DISPLAY: none }
    .PageNext { PAGE-BREAK-AFTER: always }
    </style>
    </head>
    <div class="Noprint" align="center">
    <hr align="center" width="70%" noShade SIZE="1">
    <OBJECT id="WebBrowser" height="0" width="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"
    VIEWASTEXT>




    </OBJECT>
    <input onclick="document.all.WebBrowser.ExecWB(6,1)" type="button" value="打印设置">
    <input onclick="document.all.WebBrowser.ExecWB(6,6)" type="button" value="直接打印">
    <input onclick="document.all.WebBrowser.ExecWB(8,1)" type="button" value="页面设置">
    <!--
    <input onclick="document.all.WebBrowser.ExecWB(7,1)" type="button" value="打印预览">
    --><input onclick="top.opener=null;top.close()" type="button" value="关闭窗口"></div>