Community mailing list archives

community@mail.odoo.com

re: POSBox Undefined Printer Error

by
uojeh
- 12/03/2014 03:03:11
Hi All,

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, scan and/or open up the cashdrawer successfully.

Convinced that my issue was hardware based, I switched the Star Micronics printer i was previously using to an 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, 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.

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 more detailed excerpt of the error log is included in the attached word document.