PrintQueue是打印机的默认打印机?
问题描述:
我做我自己的对话框打印在我的应用程序,现在我有这样的代码把所有的打印机中的组合框:
I'm making my own dialog for printing in my application, now I have this code to put all the printers in a combobox:
PrintServer server = new PrintServer();
foreach (PrintQueue queue in server.GetPrintQueues())
{
cboPrinters.Items.Add(queue.FullName);
}
不过,我需要选择默认的打印机,我怎么能看到哪一个?为默认打印机
However, I would need select the default printer, how can I see which one is the default printer?