进程打开OFFICE,然后打印

        private void PrintDoc(string filename)
        {
            try
            {
                System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
                startInfo.UseShellExecute = true;
                startInfo.Verb = "Print";
                startInfo.CreateNoWindow = false;
                startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
                startInfo.FileName = filename;
                System.Diagnostics.Process DocPt=System.Diagnostics.Process.Start(startInfo);
                Thread.Sleep(10000);
                DocPt.Kill();
            }
            catch(Exception E)
            {
                MessageBox.Show(E.Message);
            }
        }
原文地址:https://www.cnblogs.com/topcoder/p/2817621.html