shantanubhadoria / python-printer-escpos

Talk to Dot Matrix, Thermal POS printers supporting ESCPOS Specification
43 stars 11 forks source link

Cable isn't plugged in (but i can print test page using gui) #2

Closed csulit closed 6 years ago

csulit commented 6 years ago

Traceback (most recent call last): File "printer.py", line 7, in outputEndPoint=0x01) # Create the printer object with the connection params File "/usr/local/lib/python2.7/dist-packages/escpos/connections.py", line 87, in init self.open() File "/usr/local/lib/python2.7/dist-packages/escpos/connections.py", line 104, in open raise RuntimeError("Cable isn't plugged in") RuntimeError: Cable isn't plugged in

aaarab commented 2 years ago

just install zadig driver on windows. and it wiil work