Community mailing list archives
Re: POS Configuration V9by
Thanks i change this line
#'name': usb.util.get_string(printer, 256, printer.iManufacturer) + " " + usb.util.get_string(printer, 256, printer.iProduct) to 'name': "POS PRINTER"in the addons/hw_escpos/controllers/main.py:92 method connected_usb_devices after that i get another error ValueError: Invalid endpoint address 0x1 from this File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 231, in get_interface_and_endpoint how can i add my device ID in order to make works ? Thanks in advance
This is triggered on hw_escpos when trying to get the printer name.
Just replace with fixed name, or even better take some time and fix it the right way...
If you can't find it let me know and I will try to get exact file name and code, but the last lines in log file should give you all information you need ...
RegardsEl 25/9/2016 4:52, "Justice" <email@example.com> escribió:
no i am ust install all the on my ubuntu 16.04 laptop.with the required modules listen here https://www.odoo.com/
documentation/user/9.0/point_ of_sale/overview/setup.html# posboxless-guide-advancedOn 24.09.2016 18:38, Carlos Rodríguez wrote:Are you working with a posbox?2016-09-24 10:47 GMT-05:00 Justice <firstname.lastname@example.org>:Hi everyone, does anyone have experience with printer onfiguration ? i try to configure an 58MM Thermal Printer (Excelvan) but after following the steps in .. i get an error saying "ESC/POS Error: The device does not support the specified langid". i also try to to change the ~/openerp/addons/hw_escpos/esc pos/supported_devices.py file but i dindn't find this file. can someone help me please ? Thanks in advance. Justice Nanhou