G
Guest
Hello... I am trying to print a .pdf file using my C# application using:
Process myProcess = new Process();
myProcess.StartInfo.FileName = "c:\\Document.pdf";
myProcess.StartInfo.Verb = "Print";
myProcess.StartInfo.CreateNoWindow = true;
myProcess.StartInfo.UseShellExecute = true;
myProcess.Start();
But this doesn't do anything. Am I missing something above? What is a good
way of implementing print with C#?
Process myProcess = new Process();
myProcess.StartInfo.FileName = "c:\\Document.pdf";
myProcess.StartInfo.Verb = "Print";
myProcess.StartInfo.CreateNoWindow = true;
myProcess.StartInfo.UseShellExecute = true;
myProcess.Start();
But this doesn't do anything. Am I missing something above? What is a good
way of implementing print with C#?