Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I manage to print out the "PosBox Status" ticket with correct IP data.
But, POS doesn't see the printer, which is ridiculous when it has printed the ticket one minute before.
This is the weird error I am getting:
2014-08-10 12:14:22,688 50368 INFO ? openerp.addons.hw_escpos.controllers.main: connected : Connected to Epson TM-T20
2014-08-10 12:14:22,694 50368 INFO ? openerp.addons.hw_escpos.controllers.main: error : [Errno None] Configuration not set
2014-08-10 12:14:22,694 50368 ERROR ? openerp.addons.hw_escpos.controllers.main: ESC/POS Error: [Errno None] Configuration not set
... as you may notice, the printer is properly recognized, but without Configuration ?
Just one comment aside.
I had to "import platform" module, and modify "main.py" under hw_escpos to corretly retrieview the local IP of my Mac, as "ifconfig" throws slightly different results:
localips = ['0.0.0.0','127.0.0.1','127.0.1.1']
if platform.system() == 'Darwin':
ips = [ c.split(' ').split(' ') for c in commands.getoutput("/sbin/ifconfig").split('\n') if 'inet ' in c ]
ips = [ c.split(':').split(' ') for c in commands.getoutput("/sbin/ifconfig").split('\n') if 'inet addr' in c ]
ips = [ ip for ip in ips if ip not in localips ]
... (rest of the code) ...
Am I missing something?
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/10/14, 8:28 AM|
|Seen: 1688 times|
|Last updated: 3/16/15, 8:10 AM|