Hi, I am trying to print Pdfs from my C# code using AcroRd32.exe /t and passing in a file path\name and a network printer path. When I paste my filename and printer path into Start\Run, everything works just fine, but when I execute the code, AcroRd32 shows up as a process in Task Manager, but nothing happens. Here is my code:
ProcessStartInf o info = new ProcessStartInf o();
info.WorkingDir ectory = @"C:\Program Files\Adobe\Acr obat 6.0\Reader\";
info.FileName = @"C:\Program Files\Adobe\Acr obat 6.0\Reader\" + "AcroRd32.e xe";
info.Arguments = @"/t ""C:\DOCUME~1\J RS\JRSNET~1\LOC ALS~1\Temp\tmp1 CA.tmp"" ""\\JRSPRINT\R& D HP2100""
info.CreateNoWi ndow = true;
info.UseShellEx ecute = false;
Process process = new Process();
process.EnableR aisingEvents = true;
process.StartIn fo = info;
process.Start() ;
I’ve read every post I can find on using AcroRd32.exe and I don’t see what I’m doing wrong. Any help would be greatly appreciated; I'm out of ideas.
*************** *************** *************** *************** **********
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...