pklaus / brother_ql

Python package for the raster language protocol of the Brother QL series label printers (QL-500, QL-550, QL-560, QL-570, QL-700, QL-710W, QL-720NW, QL-800, QL-810W, QL-820NWB, QL-1050, QL-1060N and more).
GNU General Public License v3.0
562 stars 168 forks source link

"brother_ql -b pyusb discover" doesn't find the printer #138

Open the-powl opened 1 year ago

the-powl commented 1 year ago

When typing brother_ql -b pyusb discover into the command line, I only get the deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release message but nothing else, although I have a working QL-800 attached via USB. I can print on it via the P-Touch software anytime.

Windows 11 brother-ql 0.9.4 pyusb 1.2.1 (also tried 1.0.2, doesn't work)

Any ideas what goes wrong? Without the discovery I can't obtain the printer_identifier.

FriedrichFroebel commented 1 year ago

Is the "Editor Lite" mode disabled through the corresponding button as per the docs?

the-powl commented 1 year ago

yes, the "Editor Lite" mode is off

madeinaus commented 1 year ago

Install libusb, AND use the libusb wizard to install libusb as a 'filter' into the printer USB driver chain. pyusb is cross-platform, and can't see any USB things at all on windows: all it can see is libusb. libusb is a platform layer, not a printer driver, and on windows, needs to be inserted into the printer-driver chain so that it can see what happens.

When you have inserted the filter, libusb can see the thing the filter is attached to, and pyusb can see the things the libusb can see.