Add this line to your print template:
(Ticket ID={TICKET ID})
under the [ORDERS] section (near the bottom of the section).
Under the settings on the kitchen display add this to the Custom data group by field (highlighted below:
Ticket ID
I’m not 100% this will fix the problem, but it is a place to start.
