如何屏蔽C#正在打印框 这个问题已经困扰我很久了,每次打印一页内容都会弹出这个框,非常烦人。如题,如图: 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 好像不能,反编译C#,里面MS是写死的。。 不能,另外,每打一页就出一个框,这是你的代码问题。打印的时候,设置是否有下一页的属性为true,那么打印任务不会中断,之后的页也是在这个框上显示第2页,第3页的,另外这框里()里的字:共 打印文档标题 页,这是本地化翻译错误,也没办法。你非要隐藏,那么用WinAPI,FindWindow找到 正在打印 对话框,然后用ShowWindow方法隐藏它。 给楼主推荐两个帖子,和楼主问的一样,都解决了:http://topic.csdn.net/t/20050922/17/4287544.htmlhttp://topic.csdn.net/u/20090918/14/99b61561-6749-4316-b77b-7c24108fb2a6.html第二个帖子的解决方法是:PrintDocument _sPrinter = new PrintDocument();_sPrinter.PrintController = new StandardPrintController();楼主可以参考一下 prnDocument.PrintController = new System.Drawing.Printing.StandardPrintController();设置PrintDocument的DocumentName printDocument pd=new PrintDocumentpd.PrintControler =new StandardPrintController() printDocument pd=new printDocument()pd.printController=new StandardPrintController(); 求XML的基础学习资料推荐 怎样用c#在一块画布上显示出来任意方向的字符串 this.invoke处提示无法访问已释放的对象 郁闷了,,哪个给看看这个access录入问题..怎么一直报错呢? 非常简单的问题,轻松得分,有兴趣得进来看看!~ 关注 Direct9SDK .............. 关于选项卡问题 help!! 三种序列化方式的不同之处? 问一个算法 c#构造函数如何设置默认值? 程序发布问题 关于sql mobile\sql express 微软企业库慢的一个问题
打印的时候,设置是否有下一页的属性为true,那么打印任务不会中断,之后的页也是在这个框上显示第2页,第3页的,另外这框里()里的字:共 打印文档标题 页,这是本地化翻译错误,也没办法。你非要隐藏,那么用WinAPI,FindWindow找到 正在打印 对话框,然后用ShowWindow方法隐藏它。
http://topic.csdn.net/t/20050922/17/4287544.html
http://topic.csdn.net/u/20090918/14/99b61561-6749-4316-b77b-7c24108fb2a6.html
第二个帖子的解决方法是:PrintDocument _sPrinter = new PrintDocument();
_sPrinter.PrintController = new StandardPrintController();楼主可以参考一下
设置PrintDocument的DocumentName
pd.PrintControler =new StandardPrintController()
pd.printController=new StandardPrintController();