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.
The Printer Epson TM T20 I bought had a serial cable RS 232 instead of USB cable.
I took a USB to RS 232 adapter to connectthe printer to the PosBox and tested the escpos library from python-escpos.
Only the below code prints something but not the "Hello world text". It prints questions marks and some signs.
""" Seiko Epson Corp. Receipt Printer M129 Definitions (EPSON TM-T88II) over US$ #Epson = printer.Serial( 0x067b,0x2303,0,0x81,0x02) Epson = printer.Serial("/dev/ttyUSB0",9600,8,2) #thats the dev the adapter gets regognized Epson.text("Hello World")
(code from raspberry pi forum)
The above code is for a Epson TM T88II so would I need to change anything?
I did check the vendor and product Id and they are the same. The iInterface is 0 and EndPointAddress is 0x02.
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: 3/14/14, 8:21 AM|
|Seen: 2686 times|
|Last updated: 9/5/16, 8:21 AM|