要做一个收据打印,谁有好的解决方案?高分求救。谢谢..
解决方案 »
- 请问一下,SSH该怎样配置才能整合环境了?谁有SSH的练习项目,我想照的做一下?谢谢了!
- jsp中如何实现“判断用户是否做过问卷,如果做过的话只能看结果,不能再次投票”这个功能
- java中如何让小数不出现E-n这样的表示?
- 路过的好人快来救救我吧~~~~~~~~`
- 小数位数问题!
- 关于finally的问题:
- 请问:tomcat 5.0是不是不用配置那些烦琐的变量了?????
- 关于weblogic连接sqlserver2000,就是连接不上,不知道怎么回事?请帮忙
- 【高分求助】 iReport做好的报表怎么样和JB的程序连接?分不够可另加
- 求高手 spring aop问题
- 关于值班排日期的算法
- 简单的编程题!!高手来帮帮忙吧
<%
String url="#"
%><style media="print">
.noPrint { display: none }
</style>
<style media="screen">
.print { display: none }
</style>
<html>
<title></title><body><jsp:include page="<%=url%>" />
<table width="100%" class="noPrint" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" align="center">
<input type=button name=button_show value="打 印" onclick="print();">
<input type=button name=button_show value="打印预览" onclick="preview();">
<input type=button name=button_setup value="打印设置" onclick="pageSetup();">
</td>
</tr>
</table></body>
<object id="factory" style="display:none" viewastext
classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
codebase="/etsc/ActiveX/ScriptX.zip#Version=6,1,430,5">
</object>
<script language="javascript" >
function pageSetup()
{
factory.printing.PageSetup();
}
function preview()
{
setPageInfo();
factory.printing.Preview();
}
function print()
{
setPageInfo();
factory.printing.Print(true);
} function setPageInfo(){
//factory.printing.header = "&b&b第&p页/共&P页"
//factory.printing.footer = "&b&b时间:&D&T"
factory.printing.footer = ""
factory.printing.leftMargin = 10
factory.printing.topMargin = 20
factory.printing.rightMargin = 10
factory.printing.bottomMargin = 20
}
</script>
</html>
webex 打印就可以了
有问题请加msn:[email protected]