Block Print question

Hello. I would like to ask for your help. When I place an order in the program and close it, it prints the kitchen block and the block that the guest receives. This is fine so far, but if I enter the given order and close it, it prints a new block every single time. My question would be, how can it be set to print only once when closing and only when I press the “print block” button.

Please visit it contains almost everything you need.

Can you help me out how should I search for this problem?

I think you need to search ‘print states’, I could be wrong though. :stuck_out_tongue_winking_eye: