Community mailing list archives

community@mail.odoo.com

Need help with POSBox Printer Undefined Error

by
uojeh
- 05/01/2015 15:16:28
All,

Good afternoon.  I've been having this problem for a few months, and really need some help getting past it.  I have the posbox running on raspberry pi, and an epson tm20i printer (apparently this is the only model thats available now)

I'm currently playing around with the POSBox, evaluating it for use in a solution which will extend the OpenERP project.
So far, i've been unable to get it to print or scan successfully.  I am able to open up the cashdrawer though when i validate a transaction.

Convinced that my issue was hardware based, I switched the Star Micronics printer i was previously using to an Epson printer. (i've only been able to open up the cashdrawer since I switched to the Epson printer)

I was under the impression I was getting the Epson TM-T20 printer, however it turns out I got the Epson TM-T20i printer.

however, after editing the supported_devices.py script, i was able to get a successful status print out (on power up), and connect successfully via an instance of the SaaS POS.

now comes my problem, when i attempt to validate a transaction from the POS, I get an error, saying Printing Error: Undefined. (again, the cashdrawer opens successfully, but no print out of receipt)

I've looked at the syslog file, and the only error I see is

Dec  3 06:30:35 posbox openerp-server[4697]: Exception usb.core.USBError: USBError(None, 'Unknown error') in <bound method Usb.__del__ of <openerp.addons.hw_escpos.escpos.printer.Usb instance at 0x32fe9e0>> ignored

Dec  3 06:30:35 posbox openerp-server[4697]: Exception usb.core.USBError: USBError(None, 'Unknown error') in <bound method Device.__del__ of <usb.core.Device object at 0x32fd390>> ignored


Are these errors related to my printer? or could there be something else causing the error?

Please advise. 

Any help will be greatly appreciated!!!

Best Regards,
Uche

P.S. a screenshot, and the entire syslog is included in the attached word document.

P.P.S. I've also opened the issue on github, can be accessed here https://github.com/odoo/odoo/issues/6477



https://github.com/odoo/odoo/issues/6477