是否有可能从身体上的不同虚拟打印机?有可能、打印机、身体、不同

由网友(走下去,别回头)分享简介:我在WinXP中所有可用的打印机列表。我需要code(最好.NET)来过滤掉从这个列表中的所有虚拟打印机。是否有可能呢?我分析Win32_Printer WMI类的所有属性,但看不到任何合适的一个。请大家帮帮忙。I have a list of all printers available in WinXP. I n...

我在WinXP中所有可用的打印机列表。我需要code(最好.NET)来过滤掉从这个列表中的所有虚拟打印机。是否有可能呢?我分析Win32_Printer WMI类的所有属性,但看不到任何合适的一个。请大家帮帮忙。

I have a list of all printers available in WinXP. I need the code (ideally .NET) to filter out all the virtual printers from this list. Is it possible to do? I analyzed all the properties of Win32_Printer wmi class but can't see any suitable one. Please help.

推荐答案

我不认为这是可能的,至少有把握。虚拟打印机的整点是模仿一个真实的尽可能接近,所以任何差异,你可以找出基本上只是错误的虚拟打印机。

I don't think it's possible, at least with any certainty. The whole point of a virtual printer is to imitate a real one as closely as possible, so any differences you can identify are basically just bugs in the virtual printer.

这是说,你可以的根据端口名称部分的猜测。只是一对夫妇的例子,一个端口名称,其中包括一个IP地址,或以USB很可能是指一个物理连接。

That said, you can make some guesses based on the PortName. Just for a couple of examples, a PortName that includes an IP address or starts with "USB" is likely to refer to a physical connection.

阅读全文

相关推荐

最新文章