If you got it working then that’s GREAT! And no I am not a philosopher. This program works with a process we have to understand the process to help with your requests.
Your wanting something done and YOU know what you want and how you will use it… We do not. We only know what you tell us. For us to help you we have to know that information too.
As you can see you cannot just put a STOP print button and it work like magic. There is a process to it.
BTW you mentioned Open source… SambaPOS4 is not open source.