无需 MS Word 自动化即可打印 Docx
我正在尝试在 docx 和数据库之间执行邮件合并,然后将结果打印到特定打印机,并且没有任何 Ms Word 自动化(应该在服务器端运行)
我认为 Open XML SDK 可以帮助进行合并但就打印而言,我一无所知。有什么想法吗?
I'm trying to perform a mail merge between a docx and the database then print the result to a specific printer and that without any Ms Word automation (that is supposed to run server side)
I think that Open XML SDK can help with the merge but as far as Printing is concerned, I'm clueless. Any idea ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的问题看起来与此非常相似:
Printing an OOXML document without MS Word无论如何
,我遇到了类似的问题,并使用 Open XML SDK 从某些 dotx 开始生成文档,但 SDK 无法在视频和/或打印机上呈现结果,我必须找到第 3 方图书馆要做的事 那。
我选择了 Aspose.Words (但还有许多其他类似产品)。我也可以使用它来创建文档,但是直接修改 docx 的性能要好得多。
Your question looks quite similar to this one:
Printing an OOXML document without MS Word installed
Anyway, I had a similar problem and used Open XML SDK to generate the documents starting from some dotx, but the SDK is not able to render the result on video and/or printer and I had to find a 3rd party library to do that.
I chosed Aspose.Words (but there are many other similar products). I could have use it to create the docs, too, but the performances were much better modifying directly the docx.