![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
客户端打印小票
weizengxun
这个作者很懒,什么都没留下…
展开
-
如何精确计算一个方法执行的时间-如博客园的提交评论提交耗时xxx毫秒?
一开始我是想用DateTime.Now来实现,但是根本不行,精确度太差啦!使用Stopwatch类可以实现精确地测量时间。 需引入using System.Diagnostics 命名空间。 protected void Page_Load(object sender, EventArgs e) { Stopwatch st = new S原创 2012-02-09 17:52:10 · 2452 阅读 · 0 评论 -
JS+调用word打印功能实现在Webfrom客户端pos机打印小票(58x210mm)
直接进入正题。页面html代码: 调用Word打印机打印 function doPrint() { viewToWord("房间:903\原创 2011-10-13 17:54:43 · 22007 阅读 · 3 评论