Odoo Help


[V9 Coding] : retrieve POS Restaurant order printer name and host

said lokhat
on 10/22/15, 10:56 PM 579 views


i understand javascript and python and had looked at the source code.

i have configured 2 Order Printer on the POS : Kitchen (  and Bar (

how do i get the selected printer (name and IP address) in hw_escpos/controller/main.py - function run

The idea behind :

one posbox (or server) sharing 2 printers . 

1. the POS will on order printing send the Name of the printer depending of the Category

2. the hw_escpos receive this info 

3. the hw_escpos orint ti the right printer

i'm using v9.


said lokhat
On 10/23/15, 1:48 PM


i have resolved the issue


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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/22/15, 10:56 PM
Seen: 579 times
Last updated: 10/23/15, 1:48 PM