Hi I want to automatic print a ticket if it hasn’t been printed, before closing the it… I was able to automatic print before closing a tickted but If I already printed ir to give to the coustumers to pay it, so it goes dobled printed… I just want to be sure every ticket get printed only ones…
You need to prevent printing rule from running multiple times by adding rule constraints. For example you can change “Print State” of ticket to “Printed” and check that before executing printing. You can read more about that here.