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

is_online() fails with raise NotImplementedError() #622

Open
tuxmaster5000 opened this issue Jan 14, 2024 · 0 comments
Open

is_online() fails with raise NotImplementedError() #622

tuxmaster5000 opened this issue Jan 14, 2024 · 0 comments

Comments

@tuxmaster5000
Copy link

I have:

  • [X ] searched open and closed issues for duplicates

Bug description

It looks like the function is missing in the File "driver":

File "/usr/lib/python3.11/site-packages/escpos/escpos.py", line 177, in _read
raise NotImplementedError()
NotImplementedError

Steps to reproduce

from escpos.escpos import EscposIO
from escpos import printer

with EscposIO(printer.File("<Path>", profile="TM-U220B")) as x:
     while not x.printer.is_online():
     pass

Device info

Printer: Epson Model TM-U220B

python-escpos version: 3.1

python version: 3.11.7

operating system: Fedora-38

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