打印文档文件不需要打开 [英] Print doc file don't need open

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

问题描述

大家好,
我设计了一个带有一些书签的doc文件.然后,我将数据填充到这些书签中,这些数据是从数据库中获取的.我确定所有数据都能正确显示位置,现在我想打印doc文件,但不需要打开.
请帮帮我!

Hi all,
I have designed a doc file with some bookmarks. Then i fill data into these bookmarks which data was got from database. I sure all data appear position correctly, now i want to print doc file but don''t need open.
Pls help me!

推荐答案

您是什么意思?将数据放置在书签之后,您可以仅在WordDocument实例上调用print(假设您使用com interop).从技术上讲,当您开始处理文档时,您已经打开了该文档.

祝你好运!
How do you mean? After you placed the data at the bookmarks you could just call print on the WordDocument instance (assuming you use com interop). Technically you already opened the document when you started working on it.

Good luck!


这篇关于打印文档文件不需要打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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