hello
i want to setup epson lq350 dot matrix printer...
i used python-printer-escpos module
my program is:
i got this error
why???????
please help....
i want to setup epson lq350 dot matrix printer...
i used python-printer-escpos module
my program is:
[rom escpos.connections import getUSBPrinter printer = getUSBPrinter()(idVendor=0x1504, idProduct=0x0006, inputEndPoint=0x82, outputEndPoint=0x01) # Create the printer object with the connection params printer.text("Hello World") printer.lf()][/python]
i got this error
[Traceback (most recent call last): File "/home/pi/start/printerr/lq350/test.py", line 7, in <module> outputEndPoint=0x01) # Create the printer object with the connection params File "/usr/local/lib/python3.4/dist-packages/escpos/connections.py", line 87, in __init__ self.__open() File "/usr/local/lib/python3.4/dist-packages/escpos/connections.py", line 104, in __open raise RuntimeError("Cable isn't plugged in") RuntimeError: Cable isn't plugged in][/python]
why???????
please help....