识别USB打印机 [英] Identifying USB Printers

查看:74
本文介绍了识别USB打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我必须区分USB大容量存储设备和USB打印机吗?



我面临的问题是所有的USB打印机现在都有一个内置的内存/内存插槽。

所以变得安静有趣,以区分这是一台USB打印机,而不是USB驱动器。



我需要帮助才能正确区分插入的USB是USB打印机。

代码帮助会很棒。



谢谢

解决方案

您好,

您可以使用Usbprint.sys类驱动程序来管理USB打印机和usbstor.sys管理USB海量存储。

有关这些类的更多信息,请使用以下链接:

http://msdn.microsoft.com/en-us/library/windows/hardware/ff538820%28v=vs.85%29.aspx [ ^ ]

Hi all,
I have to differentiate between a USB mass storage device and a USB Printer?

Issue i am facing is all the USB printers now a days come with an inbuilt memory / memory slot.
So becomes quiet intriguing to differentiate that this is a USB Printer and not a usb drive.

I need help on how to appropriately differentiate that the USB plugged in is a USB printer.
Code help would be great.

Thanks

解决方案

Hi,
you can use Usbprint.sys class driver that manages USB printers and usbstor.sys to manage USB mass storage.
for more information about these classes, use this link:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff538820%28v=vs.85%29.aspx[^]


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

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