Friday, February 21, 2014

Printing the pdf file using process.start print opens the pdf file

Use the following code:



Process p = new Process( );
p.StartInfo = new ProcessStartInfo( )
{
CreateNoWindow = true,
Verb = "print",
FileName = path //put the correct path here
};
p.Start( );









Please mark the post as an answer that helps/solves your problem.


No comments:

Post a Comment