Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Print a PDF

$
0
0
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.

Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>