Nov-12-2019, 06:21 AM
Hi,
I'm using python-printer-escpos 0.0.3 . I connected my printer as a USB printer and i followed the link Escpos. Successfully installed the package and when i try to run my application it shows the error as
I'm using python-printer-escpos 0.0.3 . I connected my printer as a USB printer and i followed the link Escpos. Successfully installed the package and when i try to run my application it shows the error as
Quote: from escpos.connections import getUSBPrinter ImportError: No module named connections. I tried with different applications and the error is same. How to solve this issue?
from escpos import getUSBPrinter printer = new getUSBPrinter(commandSet='Generic')(idVendor=0x0525,idProduct=0xa4a8,inputEndPoint=0x82,outputEndPoint=0x01) printer.text("Hello World") printer.lf()