I get an Access is Denied message when using the Document.Print(printer name) method. I'm running the program under my own account in debug. I have access to print to the printer outside of this program. I've tried printing using 2 seperate printers, one that I can manage and one that I only have print access to and both fail. I've tried printing based on the sharename directly and the printer name as seen on my PC. I know it finds the printer as an invalid name provides a different error.
I have no problem loading the word document and manipulating it. I just can't seem to send it to the printer.
I'm attempting to print a Word Document I've loaded and manipulated in memory to a print queue decided at run-time.
I could try switching to the XPSPrint API and seeing if that helps, but I was hoping this would work.
Any suggestions would be appreciated.