Hi,
i understand javascript and python and had looked at the source code.
i have configured 2 Order Printer on the POS : Kitchen (192.168.1.100) and Bar (192.168.1.101)
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.
Thanks