How to print when order marked as completed

Hello everyone,

I am a bit lost. i´ve followed this tutorial


And what I am trying to do is print the order once kitchen finished cooking the food and the mark as completed so kitchen is able to put a paper on the plate and the waiter knows exactly where to go without asking kitchen staff,

I tried adding a new print job by just adding a new mapping for the printer but that doesnt work.

If anyone can point me in the correct direction, Any help is much appreciated

New rule for order state updated

Add a custom constraint of order state matches completed (if thats what your order state is)

Add your print job action and save

Now whenever an order state is updated to completed the rule will fire and print