我使用了以下代码: -
Process objP = new Process();
objP.StartInfo.FileName = "C:\\pdfs\\A007D_EDIQ61281.pdf";
// FileName(.pdf) to print.
//objP.StartInfo = new ProcessStartInfo(strFilePath);
objP.StartInfo.WindowStyle =
ProcessWindowStyle.Hidden; //Hide the window.
objP.StartInfo.Verb = "print";
objP.StartInfo.Arguments = "/p /h " + "C:\\pdfs\\A007D_EDIQ61281.pdf" + " " + "KONICA MINOLTA 190f GDI";
objP.StartInfo.CreateNoWindow = true;//!! Don't create a Window.
objP.Start();
objP.CloseMainWindow();
MessageBox.Show("All done");
但是如何在参数中传递设置,例如 - 订书钉或双面打印或纵向/横向。我也看过这篇文章 - http://www.codeproject.com/Articles/6899/Changing-printer-settings-using-C 但它没有多大帮助,因为我不知道如何结合这两个