Trigger a Print Job

tried wrapping this with TN as well no difference

Put in (), struggle to remember which should be bracketed and which others;

[=TN(’{TICKET QUANTITY TOTAL EXP:(OTC.Course Tag=Main)}’)]

Still wont execute the print and I know the print works because if I take the constraint out it prints it for every order.

Im a muppet, lol, not OTC… just OT.
OTC would be a number, you want tag itself.

[=TN(’{TICKET QUANTITY TOTAL EXP:(OT.Course Tag=Main)}’)]

This still wont print them I dont understand why this isnt working lol.

Its missing order lol;

[=TN(’{TICKET ORDER QUANTITY TOTAL EXP:(OT.Course Tag=Main)}’)]

1 Like

Cracked it this works and does what i want it to.

Cheers

Craig

One more question what is the expresion i would use to trigger this if the customer spends over £100.

Cheers

Craig

Its cool I’m all sorted that last question was just being lazy I knew the answer just needed to motivate the grey matter

Once again thanks for all your help your a star.

Craig

You may also use this {ORDER STATE QUANTITY TOTAL:X}

I always look for tag in printer template first. Report Tags are more powerful but something it is hard to find the right expression. For simple job use printer tag :wink:

You can use {TICKET TOTAL} > 100 and {REMAINING TOTAL} = 0 so, it trigger when customer paid and ticket over 100.

1 Like

Good shout on that expression.
Works for me but not for his senario.

@Craig_Farman personally I would still use it on ticket closed with balance 0 and total > 0 to prevent abuse but just printing automatically once on ticket payment. That’s your call though.