asp打印表格的同时 向数据库写入打印时间和打印次数
打印代码<SCRIPTdefer>functionprintBase(){factory.printing.footer="";//页眉factory.printing....
打印代码
<SCRIPT defer>
function printBase() {
factory.printing.footer = "" ; //页眉
factory.printing.footer = ""; //页脚
factory.printing.portrait = true; //true为纵向打印,false为横向打印
factory.printing.leftMargin = 30.0; //左页边距
factory.printing.topMargin = 15.0; //上页边距
factory.printing.rightMargin = 50.0 ; //右页边距
factory.printing.bottomMargin = 15.0 ; //下页边距
}
function printReport(){
printBase();
}
</SCRIPT>
<input name="Submit" type="Submit" value="打印" onClick="printReport()"/>
如何同时记录打印次数和打印时间?
在这个过程怎么向数据库插入打印时间和打印次数? 展开
<SCRIPT defer>
function printBase() {
factory.printing.footer = "" ; //页眉
factory.printing.footer = ""; //页脚
factory.printing.portrait = true; //true为纵向打印,false为横向打印
factory.printing.leftMargin = 30.0; //左页边距
factory.printing.topMargin = 15.0; //上页边距
factory.printing.rightMargin = 50.0 ; //右页边距
factory.printing.bottomMargin = 15.0 ; //下页边距
}
function printReport(){
printBase();
}
</SCRIPT>
<input name="Submit" type="Submit" value="打印" onClick="printReport()"/>
如何同时记录打印次数和打印时间?
在这个过程怎么向数据库插入打印时间和打印次数? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询