Hello!
I’ve got a problem printing receipts via proxy. POS prints them and the printer does not. I’d be really grateful for any info on this or on where I can get the answer from. Here is log Odoo-server
2015-09-09 16:03:13,842 9931 INFO indigo passlib.registry: registered crypt handler 'md5_crypt': <class 'passlib.handlers.md5_crypt.md5_crypt'>
2015-09-09 16:03:13,948 9931 INFO? openerp.addons.hw_escpos.controllers.main: connected: Connected to Љ Љ
2015-09-09 16:03:14,001 9931 INFO? openerp.addons.hw_escpos.controllers.main: error: Invalid endpoint address 0x1
2015-09-09 16:03:14,003 9931 ERROR? openerp.addons.hw_escpos.controllers.main: ESC/POS Error: Invalid endpoint address 0x1
2015-09-09 16:03:14,019 9931 ERROR? openerp.addons.hw_escpos.controllers.main: Invalid endpoint address 0x1
— Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/addons/hw_escpos/controllers/main.py", line 158, in run
self.print_status(printer)
File "/usr/lib/python2.7/dist-packages/openerp/addons/hw_escpos/controllers/main.py", line 189, in print_status
eprint.text('\n\n')
File "/usr/lib/python2.7/dist-packages/openerp/addons/hw_escpos/escpos/escpos.py", line 826, in text
self._raw(txt)
File "/usr/lib/python2.7/dist-packages/openerp/addons/hw_escpos/escpos/printer.py", line 68, in _raw
if len(msg) != self.device.write(self.out_ep, msg, self.interface):
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 870, in write
intf, ep = self._ctx.setup_request(self, endpoint)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 189, in setup_request
intf, ep = self.get_interface_and_endpoint(device, endpoint_address)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 204, in get_interface_and_endpoint
raise ValueError('Invalid endpoint address ' + hex(endpoint_address))
ValueError: Invalid endpoint address 0x1