python-printer-escpos 0.0.3 ERROR - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: python-printer-escpos 0.0.3 ERROR (/thread-22418.html) |
python-printer-escpos 0.0.3 ERROR - neethuvp - Nov-12-2019 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 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() RE: python-printer-escpos 0.0.3 ERROR - Larz60+ - Nov-12-2019 I have never used this package, however the author has the following preface in his docs: Quote:If you are just starting up with POS RECEIPT Printers, you must first refer to http://pythonhosted.org/python-printer-escpos/ to get started.if you can't find an answer there, perhaps contact the author (Shantanu Bhadoria) here: [email protected] |