How To Disable PosBox Status Print


The posbox status I mean the IP address and Homepage infiormation that printed automatically everytime we turn on the posbox. We can disable this print.

Comment it out and put in a pass statement (in bold below):
(excerpt from file on the posbox: /home/pi/odoo/addons/hw_escpos/controllers/ -Line 177 has call to comment)
Make sure to indent the pass with 4 spaces to align with old function call position.

elif task == 'xml_receipt':
    if timestamp >= time.time() - 1 * 60 * 60:
elif task == 'cashbox':
    if timestamp >= time.time() - 12:
elif task == 'printstatus':
elif task == 'status':
error = False 

That’s all. Now the posbox won’t print the status on each boot-up.
Thank you