I'm looking for a way to print (to a printer) a PDF file from within a C# program, programatically.
I have a poor solution which requires adobe acrobat reader be installed, and while printing it opens up a new acrobat reader window which is quite annoying. Is there a better way? I've been searching for some library but not found one. Suggestions?
An optimal solution would accept the PDF document as a byte[] array, however I could temporarily save it as a file on hd if required.
The PDF is created elsewhere, so I'm not interested in libraries to create the file, only print it.
I have a poor solution which requires adobe acrobat reader be installed, and while printing it opens up a new acrobat reader window which is quite annoying. Is there a better way? I've been searching for some library but not found one. Suggestions?
An optimal solution would accept the PDF document as a byte[] array, however I could temporarily save it as a file on hd if required.
The PDF is created elsewhere, so I'm not interested in libraries to create the file, only print it.