日期:2014-05-18  浏览次数:20715 次

求一免费报表打印控件,(给出了打印格式的代码)
以下是利用工具生成的报表格式代码,请高手出山,帮忙给个控件,调用这段代码打印出来,谢谢了  


<report   image= "C:\Documents   and   Settings\Administrator\桌面\1.jpg ">  
<pagesetup>  
<paper   length= "1449 "   width= "2079 "/>  
<margin   left= "0 "   right= "0 "   top= "0 "   bottom= "0 "/>  
</pagesetup>  
<detail>  
<section>  
<font   name= "Times   New   Roman "   size= "12 "   bold= "false "   italic= "false "   underline= "false "   strikethrough= "false "/>  
<text   value= "IOP;IOUP "   left= "529 "   right= "994 "   top= "314 "   bottom= "433 "   format= "0 "   bound= "0 "/>  
<text   value= "SDFSDFSDF "   left= "214 "   right= "425 "   top= "637 "   bottom= "722 "   format= "0 "   bound= "0 "/>  
<text   value= "546 "   left= "211 "   right= "550 "   top= "762 "   bottom= "846 "   format= "0 "   bound= "0 "/>  
<text   datafield= "Fieldname "   left= "230 "   right= "415 "   top= "873 "   bottom= "947 "   format= "0 "   bound= "0 "/>  
</section>  
</detail>  
</report>


------解决方案--------------------
这段内容顶多就是一个xml字符串,至于是什么工具生成的 完全不可知,除非正好有人很熟悉那个工具才能看出来。

推荐使用jasperReport 感觉和你给出的xml很像 ,用过好几次,很不错。

http://jasperforge.org/sf/projects/jasperreports

------解决方案--------------------
jasperReport 有点不像,没有band。
你试试改改看
------解决方案--------------------
http://www.finereport.com