Added VCP serial device support for USB Printing on Windows.

This commit is contained in:
Robert Colbert 2017-05-02 12:51:34 -05:00
parent 745e3cd5bf
commit b6a5e5a1af
3 changed files with 4 additions and 1 deletions

View file

@ -259,7 +259,7 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin, Extension):
i = 0
while True:
values = winreg.EnumValue(key, i)
if not only_list_usb or "USBSER" in values[0]:
if not only_list_usb or "USBSER" or "VCP" in values[0]:
base_list += [values[1]]
i += 1
except Exception as e: