Grouping on printer template issues

Hi,

Ive tried to sort out the kitchen template so that no drinks are shown but im still getting the drinks printing onto the kitchen copy.

My template is:

[LAYOUT]
<div style="Family-weight:bold;font-size:20px">

<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
<L00>
<EB>
<C24>Table:{ENTITY NAME:Table}
<L00>
<L01>Persons:{TICKET TAG:No. Of Customers}
<L00>Ticket No:{TICKET NO}
<EB>
{ORDERS}
<L01>
<L01> NOTE: {NOTE}
<L01>
<L01>
<L01>
<L01>

[ORDERS]
<J01>{QUANTITY} {ITEM TAG:KitchenName} {PORTION:- }

{ORDER TAGS}


[ORDERS|ORDER STATE:Kitchen Group:Drink]
-- do not print drinks

[ORDERS GROUP|ORDER STATE:Kitchen Group:Appetiser,Starter,Main,Sides,Rice,Nan,Sundries]
<L00>
<C12> {GROUP KEY} 
<F>=


[ORDERS GROUP|ORDER STATE:Kitchen Group:Drink]
-- do not print drinks key

[ORDER TAGS]
-- Format for order tags
<J00>    {ORDER TAG NAME}

[ORDERS:Void]
-- do not print voided orders
{ORDER TAGS}

<L01>{NOTE}
<BEEP>
<B33> 

I have everything grouped with Order State | Kitchen Group and to make sure the item names fit onto the kitchen printer i used a seperate item tag <J01>{QUANTITY} {ITEM TAG:KitchenName} {PORTION:- }

What is happening though is that im getting Drinks, Beverages and other groups that are supposed to be excluded from the printout. Can someone advise further?

Try

[ORDERS:Drink]
-- do not print drinks

instead of

[ORDERS|ORDER STATE:Kitchen Group:Drink]
-- do not print drinks

Hi Emre,

Ive tried that and this is the result i get:

Date:08/06/2016
Time:13:09

                 Table:3

Persons:2
Ticket No:127

                   Drink
==========================================
2 Drink                                   

                  Special
==========================================
1 Raj Lunch                               

                 Appetiser
==========================================
2 Pop & pk                                

                  Starter
==========================================
1 Ch Tikka (s) -Lunch                     
1 Ch Tikka (s)                            

                   Main
==========================================
1 Chi Madras -Lunch                       
1 Sp Chi & Yog                            

                   Sides
==========================================
1 Spicy chips                             

                   Rice
==========================================
1 Pilau Rice -Lunch                       

                    Nan
==========================================
1 Garlic Nan                              

 NOTE: 

from the following template:

[LAYOUT]
<div style="Family-weight:bold;font-size:20px">

<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
<L00>
<EB>
<C24>Table:{ENTITY NAME:Table}
<L00>
<L01>Persons:{TICKET TAG:No. Of Customers}
<L00>Ticket No:{TICKET NO}
<EB>
{ORDERS}
<L01>
<L01> NOTE: {NOTE}
<L01>
<L01>
<L01>
<L01>

[ORDERS]
<J01>{QUANTITY} {ITEM TAG:KitchenName} {PORTION:- }

{ORDER TAGS}


[ORDERS|Drink]
-- do not print drinks

[ORDERS GROUP|ORDER STATE:Kitchen Group:Appetiser,Starter,Main,Sides,Rice,Nan,Sundries]
<L00>
<C12> {GROUP KEY} 
<F>=

[ORDER TAGS]
-- Format for order tags
<J00>    {ORDER TAG NAME}

[ORDERS:Void]
-- do not print voided orders
{ORDER TAGS}

<L01>{NOTE}
<BEEP>
<B33>

Try this

[LAYOUT]
<div style="Family-weight:bold;font-size:20px">

<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
<L00>
<EB>
<C24>Table:{ENTITY NAME:Table}
<L00>
<L01>Persons:{TICKET TAG:No. Of Customers}
<L00>Ticket No:{TICKET NO}
<EB>
{ORDERS}
<L01>
<L01> NOTE: {NOTE}
<L01>
<L01>
<L01>
<L01>

[ORDERS GROUP|ORDER STATE:Kitchen Group:Appetiser,Starter,Main,Sides,Rice,Nan,Sundries]
<L00>
<C12> {GROUP KEY} 
<F>=

[ORDERS GROUP:Drink]
-- do not print Group header for drinks.

[ORDERS]
<J01>{QUANTITY} {ITEM TAG:KitchenName} {PORTION:- }
{ORDER TAGS}

[ORDERS:Drink]
-- do not print order lines for drinks.

[ORDER TAGS]
-- Format for order tags
<J00>    {ORDER TAG NAME}

[ORDERS:Void]
-- do not print voided orders

<L01>{NOTE}
<BEEP>
<B33>
2 Likes

Thanks @emre

Its working now.