Skip to content

is_online() fails with raise NotImplementedError() #622

@tuxmaster5000

Description

@tuxmaster5000

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions