采用插件!http://lucky.myrice.com/print.htm

解决方案 »

  1.   

    在IE的文件-页面设置里改一下啊听说可以用javascrip修改注册表的键值来屏蔽掉那些东西
    老孟肯定知道,一定是他不告诉你
      

  2.   

    很简单,我做过很多报表打印的工程,可以交流,先拿分来。hehe
    function hiddenhead()
    {
            head.style.display="none"
    }
    function showhead()
    {
      head.style.display="block"
    }
      

  3.   

    不行,你所说的head报未定义错???请帖出完整的代码!!另,我的确没见过用head的js代码,没看过。如能解决,一定给分。
      

  4.   

    <script language="JavaScript">
    function doPrintSetup(){
    //打印设置
    WB.ExecWB(8,1)
    }
    function doPrintPreview(){
    //打印预览
    WB.ExecWB(7,1)
    }</script>
    </head>
    <body text="#000000" topMargin="0">
    <p align="right">
    <OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WB width=0></OBJECT>
    <input type="button" name="Close" value="关闭窗口" onclick="javascript:parent.close();">
    <input type="button" name="PrintSetup" value="打印设置" onclick="doPrintSetup();">
    <input type="button" name="PrintPreview" value="打印预览" onclick="doPrintPreview();">
    <input type="button" name="Print" value="打印本页" onclick="javascript:window.print();">这回不光是你问的答案了,完整的解决方案都在里面。
    还不给分?
      

  5.   

    http://www.meadroid.com
    有资料