大家web打印都是用的什么控件阿,我找了个meadco不知道这个是不是免费的,请大虾们帮个忙,又没有meadco中文手册。还有给一些你们使用meadco的意见和例子吧。非常感谢。着急在线等

解决方案 »

  1.   

    http://www.baidu.com/s?ct=0&ie=gb2312&bs=web+%B4%F2%D3%A1&sr=&z=&cl=3&f=8&wd=web+%B4%F2%D3%A1%BF%D8%BC%FE
      

  2.   

    http://www.cnblogs.com/980337/articles/349129.html
    http://hi.baidu.com/myworld_wang/blog/item/55b5b744103ebb83b2b7dc11.html
      

  3.   

    www.wave12.com  有个很好用的web打印控件  wsReport报表打印控件
      

  4.   

    <OBJECT   id=WebBrowser   classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2   height=0   width=0></OBJECT>   
      <input   type=button   value=打印           onclick="document.all.WebBrowser.ExecWB(6,1)">   
      <input   type=button   value=直接打印   onclick="document.all.WebBrowser.ExecWB(6,6)">   
      <input   type=button   value=页面设置   onclick="document.all.WebBrowser.ExecWB(8,1)">   
      <input   type=button   value=打印预览   onclick="document.all.WebBrowser.ExecWB(7,1)">
      

  5.   

    我顶~~~~~~~~~~~~~~~~~~~
    求meadco中文手册。
      

  6.   

    请参考http://www.fcsoft.com.cn/webprint/index.html或加msn:[email protected]
      

  7.   

    //----------------------------------------------------------
    // 通用打印
    //----------------------------------------------------------
    function commonprint(title,divId,cardNo,branchName,width,height){
    //alert("HELLO");
    var sarg=new Array();
    var sdata=document.all.item(divId);
    sarg[0]=title;
    text = sdata.outerHTML;
    text = text.replace(/border=[^[1|\s]]*([\s|>])/ig,"border=1 style='border-collapse:collapse' bordercolor='#000000'$1");
    text = text.replace(/cellSpacing=[^[0|\s]]*([\s|>])/ig,"$1");
    text = text.replace(/cellPadding=[^[0|\s]]*([\s|>])/ig,"$1");
    text = text.replace(/<TABLE/ig,"<TABLE cellSpacing=0 cellPadding=0");

    sarg[1]=text;
    sarg[2]=cardNo;
    sarg[3]=branchName;
    //alert(test);
    //alert(sarg[1]);
    window.showModalDialog("print.jsp",sarg,"dialogWidth:"+width+"px;dialogHeight:"+height+"px;center:yes;help:no;status:no;resizable:yes");
    return;
    }