Printing OpenXml Documents in C#

蓝咒 提交于 2019-12-12 04:24:33

问题


I have searched for this but cant find anything to help.

I have a WordprocessingDocument - using DocumentFormat.OpenXml.Wordprocessing.

Is there a way to print this straight off to a printer, I dont want to save it at all?

Thanks


回答1:


No, you'll need some sort of program to take the Open XML and translate into how it should be displayed for the printer. In its raw form its just XML and without the translation the printer won't print it how you would expect.



来源:https://stackoverflow.com/questions/4991647/printing-openxml-documents-in-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!