打印Docx无MS Word自动化 [英] Printing Docx without MS Word automation

查看:254
本文介绍了打印Docx无MS Word自动化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图执行一个DOCX和数据库之间的邮件合并然后将结果打印到特定打印机,并且没有任何Word自动化女士(即应该运行服务器端)

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)

我认为,开放的XML SDK可以合并帮助,但据印而言,我无言以对。 ?任何想法

I think that Open XML SDK can help with the merge but as far as Printing is concerned, I'm clueless. Any idea ?

推荐答案

您的问题看起来很类似这样的:

Your question looks quite similar to this one:

没有MS Word打印的文档OOXML安装

不过,我也有类似的问题,并且使用的开放XML SDK来生成一些DOTX开始的文件,但SDK是不能够呈现视频和/或打印机结果我必须找到一个第三方库这样做。
我chosed Aspose.Words (但也有许多其他同类产品)。我可以用它来创建文档,太多,但对其性能进行了更好的直接修改的docx。

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.

这篇关于打印Docx无MS Word自动化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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