杂项文档和图像类型的打印自动化 [英] Print Automation for misc documents and image types

查看:111
本文介绍了杂项文档和图像类型的打印自动化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我问有什么办法不打开文件就打印文件. ShellExecute()中的print属性可以为您完成此操作,但是如果我们要打印Microsoft Office文档,则它将首先打开特定的应用程序,然后发出命令以打印文档.我们是否可以使所有这些过程都自动进行,以便有一个静默的过程来打印文档,而不会弹出用于显示不同消息的窗口.

预先感谢.

Hi,

I asked is there any way to print the documents without opening them. print attribute in ShellExecute() do it for you but If we are printing Microsoft Office documents then it first open the particular application and then issue the command to print the document. Can we make all this procedure automatic so that there is a silent procedure to print the documents without popping up windows for different messages.

Thanks in advance.

推荐答案

否.无法打印未加载的文档.通过Word完成Word文档的打印.如果Word没有打开文档,则无法打印.您也许可以告诉Word在它执行时不显示它的窗口(我不知道是否可以),但是您不能阻止它出现在任务栏上并正常运行.
No. There is no way to print a document that is not loaded. Printing a Word document is done by Word. If Word does not have the document open, it cannot print it. You can perhaps tell Word to not show it''s window while it does it ( I do not know if you can ), but you can''t stop it appearing on the taskbar, and running in general.


这篇关于杂项文档和图像类型的打印自动化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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