如何使用C#中的设备名称向设备发送命令? [英] How Can I Send A Command To Device Using The Device Name In C#?

查看:104
本文介绍了如何使用C#中的设备名称向设备发送命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用打印机名称向连接到PC的打印机发送命令以决定我想要哪台打印机

注意我正在使用C#

i would like to send a command to a printer connected to PC using the printer name to decide which printer i want
note i'm using C#

推荐答案

使用 PrinterSettings .PrinterName属性 [ ^ ]。


这篇关于如何使用C#中的设备名称向设备发送命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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