Hello everyone, I'm trying to print a word.doc file, I'm using the following code.
using Microsoft.Office.Interop.Word;
Microsoft.Office.Interop.Word.Application application = new Microsoft.Office.Interop.Word.Application();
string CaminhoContrato ="C:\arquvio.doc";
Document document = application.Documents.Open(CaminhoContrato);
That way I can open it, but I really need to print the file without it being opened. Can anyone help me?