Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Epson TM-T20II "NotImplementedError: is_kernel_driver_active" error #29

Open
kdc1919 opened this issue Oct 12, 2022 · 0 comments

Comments

@kdc1919
Copy link

kdc1919 commented Oct 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant