M
Michelle Mabelle
I have the code below. It will open and print the pdf file (test.pdf) to the
printer.
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.UseShellExecute = true;
startInfo.Verb = "Print";
startInfo.CreateNoWindow = true;
startInfo.WindowStyle = ProcessWindowStyle.Minimized;
startInfo.FileName = @"E:\\barcode\test.pdf";
Process p = new Process();
p.StartInfo = startInfo;
p.Start();
It works well on my local test machine. Once I copied it to the server, it
will not print or open the pdf file.
Anybody can help?
printer.
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.UseShellExecute = true;
startInfo.Verb = "Print";
startInfo.CreateNoWindow = true;
startInfo.WindowStyle = ProcessWindowStyle.Minimized;
startInfo.FileName = @"E:\\barcode\test.pdf";
Process p = new Process();
p.StartInfo = startInfo;
p.Start();
It works well on my local test machine. Once I copied it to the server, it
will not print or open the pdf file.
Anybody can help?