I am developing hotel billing system that prints the bill receipt using thermal printer but i am stuck at [Errno None] Other errors python3.9 library: escposprinter & libusb-1.0, plateform:windows 10 Thermal printer: xlab xp-58III from escposprinter import * try: Epson = printer.Usb(0x0416, 0x5011) Epson.text('Hello World') Epson.cut() except Exception as e: print("PRINTER ERROR: ", e) Result: [Errno None] Other errors if i remove try block then, Result: Process finished with exit code -1073740791 (0xC0000409), what is the problem??
from escposprinter import * try: Epson = printer.Usb(0x0416, 0x5011) Epson.text('Hello World') Epson.cut() except Exception as e: print("PRINTER ERROR: ", e)
0xC0000409
STATUS_STACK_BUFFER_OVERRUN
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)