ProcessStartInfo info = new ProcessStartInfo();
info.Verb = "print";
info.FileName = pdf2print;
//info.CreateNoWindow = false;
info.WindowStyle = ProcessWindowStyle.Hidden;
//info.UseShellExecute = true;
Process p = new Process();
p.StartInfo = info;
//MessageBox.Show("Print Will Start Now");
p.Start();
但很多时候PC被绞死或者文件没有按照提交打印的顺序打印。
是否有任何itextsharp
函数或程序直接打印到选定的打印机?