Print Pdf in C#
.net, c#, pdf, printing
Solution
A very straight forward approach is to use an installed Adobe Reader or any other PDF viewer capable of printing:
Process p = new Process( );
p.StartInfo = new ProcessStartInfo( )
{
CreateNoWindow = true,
Verb = "print",
FileName = path //put the correct path here
};
p.Start( );
Another way is to use a third party component, e.g. PDFView4NET
Problem
I'm new to c#. I was looking all over the net for tutorials on how to print pdf, but couldn't find one. Then I thought, is it possible to read it using itextpdf, like mentioned here Reading PDF content with itextsharp dll in VB.NET or C# then print it. If so, how?