I am using .NET to open .pdf file with "Print" option. This should print that .pdf file on default printer of the system. But in reality, when I run my program, it opens blank Adobe Reader window and just hangs there, no page gets printed. My C# code looks like following:
Process process1 = new Process(); process1.StartInfo.UseShellExecute = true; process1.StartInfo.Verb = "Print"; process1.StartInfo.WindowStyle = ProcessWindowStyle.Normal; process1.StartInfo.FileName = completeFileName; process1.Start();
Above code could also be written in vbScript.
Can anyone let me know why Acrobat Reader does not print any page?