0
我用下面的代碼: -如何通過打印機設置,同時打印PDF文件批量
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");
但是,如何在這樣的參數傳遞設置 - 主食或全雙工或人像/ lanscape。 我也看過這篇文章 - http://www.codeproject.com/Articles/6899/Changing-printer-settings-using-C但它沒有什麼幫助,因爲我不知道如何合併這些2