//this is my code const string acrobatPath = @"C:\Program Files (x86)\Adobe\Reader 9.0\Reader\AcroRd32.exe"; string parameters = String.Format("/t /o {0} \"{1}\"", pdfFilepath, printerName); System.Diagnostics.ProcessStartInfo processStartInfo = new System.Diagnostics.ProcessStartInfo(acrobatPath, parameters); System.Diagnostics.Process process = System.Diagnostics.Process.Start(processStartInfo); System.Threading.Thread.Sleep(10000); process.WaitForInputIdle(15 * 1000); process.Kill();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)