Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Problem printing in POS

By
Nick N Lezhepekov
on 9/16/15, 1:43 AM 1,011 views

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

0
Nick N Lezhepekov
On 9/16/15, 2:32 AM

Odoo 8, ubuntu 14

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/16/15, 1:43 AM
Seen: 1011 times
Last updated: 9/16/15, 9:31 AM