Cannot print the receipt in python3.9, escposprinter library for windows10 platform

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:

Operation not supported or unimplemented on this platform if i remove try block then, Result: Process finished with exit code -1073740791 (0xC0000409)

What is the problem?

python
receipt
escpos
python-3.9
asked on Stack Overflow Nov 5, 2020 by kabindra_kc • edited Nov 6, 2020 by sophros

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0