Hello,
This a tricky question, I'm using control PdfDocumentView to load an document and print directly to a printer ...
Code:
PdfDocumentView pdfDocView = new PdfDocumentView();
pdfDocView.Load(pathGeneratedPdf);
pdfDocView.Print("name of printer");
This code is used in a Console Application , and runs fine.
If I try to run in an Windows Service, "access is denied" is showed. Is there a way to invoke Printing a Pdf in a
Windows Service ?
Best Regards,
João Guedes