other error while trying to print the receipt using escposprinter python library in windows10

0

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)

python
thermal-printer
escpos
asked on Stack Overflow Nov 4, 2020 by kabindra_kc • edited Nov 5, 2020 by kabindra_kc

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0