Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Printing Docx without MS Word automation

Tags:

c#

printing

docx

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 ?

like image 514
VdesmedT Avatar asked Oct 23 '25 17:10

VdesmedT


1 Answers

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.

like image 182
Francesco Baruchelli Avatar answered Oct 26 '25 06:10

Francesco Baruchelli



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!