pyescpos
pyescpos copied to clipboard
Error with Epson TM-T20II "NotImplementedError: is_kernel_driver_active" error
Good Day,
I was wondering if anyone else has this issue for the Epson TM-T20II printer. Here is the code I'm using...
from escpos.conn.usb import USBConnection
from escpos.impl.epson import TMT20
conn = USBConnection.create('0x04B8:0x0E15,interface=0x0,ep_out=0x3,ep_in=0x0')
printer = TMT20(conn)
printer.init()
printer.text('Hello World!')
printer.cut()
I was able to find and use the correct vendor and product id for the USB port in question. However when running this test code I'm getting the error... "File "C:\Users\kevin\PycharmProjects\caribbean-store-hub-software\venv\lib\site-packages\usb\backend\libusb0.py", line 657, in is_kernel_driver_active raise NotImplementedError(self.is_kernel_driver_active.name) NotImplementedError: is_kernel_driver_active"
Is anyone else getting this error? Would greatly appreciate it for any assistance.
Regards,
Kevin