I tell you step by step …
Create this actions and rules ;
First create a Ticket Tag
Then add an action
and
Then add these rules
Last step, edit your default Print Bill rule and add Custom Constraint Line
And try reprint the any ticket …