现在做个项目要用到套打,不知有没有套打插件,请大家帮忙!!

解决方案 »

  1.   

    得用DIV 绝对定位,结全CSS控制字符是否打印,以下是我以前做的一个例子:
    <title>打印工单</title>
        <style media="print">
          .noPrint { display: none ;font-size:9pt;line-height:120%;font-family:宋体}
        </style>
        <style media="screen">
         .print { display:  ;font-size:9pt;line-height:100%;font-family:宋体}
        </style>
    <style type="text/css">
      body{font-size:9pt;color:#010101;line-height:120%}
        .STYLE1 {font-weight: bold}
        .STYLE2 {
    color: #FF0000;
    font-weight: bold;
    }
        </style>
      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="noPrint">
                <tr>
                  <td width="35%" height="18" class="noPrint">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="STYLE1">客户送修资料:</span><span class="STYLE2">(* 号 为 必 填 项 目 )</span></td>
                  <td width="40%" class="noPrint">&nbsp; </td>
                  <td width="25%" class="noPrint" >0017354</td>
                </tr>
              </table> ======================================================
    太乱了,自己看一吧,希望能帮得上忙
      

  2.   

    给楼主推荐一个免费的套打插件JATOOLS,挺好的。可以做到指那打那.