禁用打印对话框 [英] Disable the printing dialog box

查看:83
本文介绍了禁用打印对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我创建的Windows应用程序从数据库中获取一些数据并将其发送到打印机,应用程序已设置为全屏,在所有其他应用程序面前,问题是当文件发送到打印机的小消息框出现并说文档的第1页。请看一下屏幕截图。我想禁用此框在代码或窗口设置中显示。你能给我你的建议吗?



http: //social.msdn.microsoft.com/Forums/getfile/105924 [ ^ ]



预先感谢您的帮助。



此致,

Hello every one ,

I have created windows application that take some data from database and send it to the printer, the application has been set to full screen and in front of all other application, the problem is that when document sent to the printer small message box show up and saying ‘page 1 of document’. Please have a look at screen shot. I would like to disable this box from showing up either in the code or windows setting. Would you please give me your suggestion?

http://social.msdn.microsoft.com/Forums/getfile/105924[^]

Thanks in advance for the help.

Regards,

推荐答案

您好,



将PrintDocument的PrintController设置为:

Hi,

Set the PrintController of the PrintDocument to:
PrintController = New StandardPrintController



这将隐藏打印过程对话框。



问候,





Daniel。


This will hide the printing process dialog.

Regards,


Daniel.


这篇关于禁用打印对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆