{{ message }}
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I have tested the method using Network and if it works, I would like to do the same with a printer that uses the Win32RAW connector, I checked the classes and I think the error is because Win32RAW does not have a _read() method in its class, Any suggestions on how to use that method?
from escpos.printer import Network, Usb, Win32Raw
from escpos.exceptions import DeviceNotFoundError, ConfigNotFoundError, USBNotFoundError, ConfigSectionMissingError, Error
try:
p = Win32Raw(printer_name="POS-80C", profile="TM-T20II")
except (Exception, DeviceNotFoundError, WindowsError, ConfigNotFoundError, ConfigSectionMissingError, Error) as e:
print("Error", type(e))
Beta Was this translation helpful? Give feedback.
All reactions