It can be done by using Task Printer + Grouping features of the Task Editor Widget. Here I prepared a sample kitchen display. You can see how it configured and adjust it for your needs. It creates a task per order line and groups them on kitchen display by product and table.
I didn’t prefixed configurations so please test it on default setup first.
Kitchen.zip (2.4 KB)
After importing configuration add Execute Task Print Job
action to the top of the Ticket Closing
actions.