Reputation: 60
I'm looking for some library that lets me create a document with a particular format an then print it. At First i used Microsoft.Office.Interop, but my boss said that the server is not going to have office installed. So I'm looking for some free library that lets me create the document and print it...
edit: i forgot to say its a .doc or docx, but i don't need to save it, only print without using ActiveX.
Upvotes: 1
Views: 2980
Reputation: 161831
I've never used it, but I've heard good things about Aspose.Words.
Upvotes: 0
Reputation: 6840
We use PDFSharp at my company. It works quite well, and can make different types of documents. It is a little bit tedious to learn to use, though.
Upvotes: 1
Reputation: 3413
If you want to use Microsoft Office 2003+ documents, have a look at the Open XML SDK. This allows you to manipulate / create .docx etc. document.
Alternatively, if you are using SQL Server Reporting Services, this provides a web service that will allow you to generate a report as a PDF programmatically.
Upvotes: 1
Reputation: 1979
I use http://code.google.com/p/wkhtmltopdf/ to create PDF from HTML files. Documents are pretty and easy to print.
Upvotes: 0