Printer template doubt

Finally got my hands on a ticket printer. Was creating my setup so far without bothering to think how the tickets were to come out.

Got some doubts about how its supposed to work. My setup is
SambaPOS ver 4.1.65
@morshed1 database with Delivery department mod

Kitchen template is a follows

[LAYOUT]
<T>KOT
<J00>{TICKET DATE} {TICKET TIME}| {TICKET TAG:SG}| #{TICKET NO}
<F>-
{ORDERS}
<F>-
<C00>
[ORDERS]
<J00>- {QUANTITY} {NAME}
{ORDER TAGS}

[ORDERS:GIFT]
<J00>- {QUANTITY} {NAME}
{ORDER TAGS}

[ORDERS:VOID]
<J00>- {QUANTITY} {NAME}|**VOID**
{ORDER TAGS}

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

Isnt that code supposed to print out voided items?

This is the order screen.

The printer prints out item being voided on clicking close button, but does not show letters VOID in the ticket. Tested that on a couple of new tickets.

This is another ticket with one item voided. The printer prints out the voided item correctly, but there is no other indication that it is a voided item.

Try changing this:

[ORDERS:VOID]

To this:

[ORDERS:Void]

It is case-sensitive, and must match the word in the following Rule:

The same applies to GIFT orders:

[ORDERS:Gift]
-- Format for gifted orders
<J00>{QUANTITY} {NAME}|**FREE**
{ORDER TAGS}
2 Likes

Yup, that worked! Thank you. :smiley: