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

How to Setup supported_devices for POS printer

pos
By
Dennis Lin
on 4/17/14, 11:15 AM 1,921 views

Hi, I had download posbox from nightly.openerp.com and start the POSBOX Server successful I type the 'lsusb' from terminal of posbox and get the follow message pi@posbox ~/openerp/addons/hw_escpos/escpos $ lsusb Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 007: ID 0416:5011 Winbond Electronics Corp. Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver

I found my usb printer's vendor id is 0416. It print out form /dev/usb/lp0 was successful , how do I add the Vendor & Product Code into supported_devices.py I had error message as follow wher launch server

2014-02-09 06:18:33,648 1904 ERROR ? openerp.addons.hw_escpos.controllers.main: ESC/POS Error: -51

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

0 follower(s)

Stats

Asked: 4/17/14, 11:15 AM
Seen: 1921 times
Last updated: 3/16/15, 8:10 AM