PrintQueue是打印机的默认打印机? [英] PrintQueue is the printer the default printer?

查看:1436
本文介绍了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?

推荐答案

我想这有助于链接:
如何使用WPF确定默认打印机?

这篇关于PrintQueue是打印机的默认打印机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆