摘要: 通常web技术无法设置本地计算机的默认打印机,包括用代码设置纸张大小,如果业务系统中真遇到这种需求,只能通过其它辅助手段(比如ActiveX)实现。下面这段代码,出自网上被广泛使用的"泥人张打印API"(抱歉未找到原始出处),已经用C#封装了很多关于底层打印的API方法using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;using System.Security;using System.ComponentModel;usin 阅读全文
posted @ 2013-07-10 15:57 菩提树下的杨过 阅读(6657) 评论(2) 推荐(0) 编辑