Print Tender and Change Due When received Exact Amount of Payment

Hi, I managed to print tendered and change due on my receipt but there is a problem. When The change due is zero 0.00, there are no figures printed at the tendered And change due section. What are the instructions I need to include in my template?

Another thing, does anyone know how to print the rounding on the receipt as well?

Can you post your printer template please. We can help you better this way.

Hi kendash, this is my template…

[LAYOUT]
-- General layout
<T>Receipt
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
<J00>Subtotal:|[=F(TN('{TICKET TOTAL}')-TN('{TAX TOTAL}'))]
{DISCOUNTS}
{SERVICES}
{TAXES}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
<J10>Total:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>T H A N K   Y O U

[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}|{TICKET TAG:Tendered}
<J00>Change Due:|{TICKET TAG:ChangeDue}

[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

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

[ORDERS:Void]
-- Nothing will print for void lines

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

[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

[TAXES]
<J00>{TAX NAME}|{TAX AMOUNT}

I see a few errors give me a few minutes I will give you an updated template to try…

<J00>{PAYMENT NAME}|{TICKET TAG:Tendered}

<J00>Change Due:|{TICKET TAG:ChangeDue}

These should be

<J00>{PAYMENT NAME}: |{TENDERED TOTAL}
<J00>Change Due: |{CHANGE TOTAL}
3 Likes

You can also try replacing:

<J00>Subtotal:|[=F(TN('{TICKET TOTAL}')-TN('{TAX TOTAL}'))]

With

<J00>Subtotal: |{PLAIN TOTAL}

I am looking through it to see if I notice any other formatting mistakes.

EDIT: Can you explain what you mean by print the rounding… what are you wanting it to display? How are you rounding it?

2 Likes

WOW! it worked!
You da man :wink: @Jesse

1 Like

Rounding adjustment like this

You can do further customizations:

You can put <J00>Change Due: |{CHANGE TOTAL} into brackets like [<J00>Change Due: |{CHANGE TOTAL}]

It will cause it not to print anything at all if Change Due = 0 for that line. I prefer to just not print Change Due: 0.00 I would rather it just not show that line.

3 Likes

I do the rounding manually because if the numbers end with 1,2,6,7 cent I need to round down and when the numbers end with 3,4,8,9 I need to round up. and people here usually show their roundings on their receipt

Try this under your [TAXES]

<J00>{TAX NAME}|{TAX AMOUNT}
<J00>  - Round+: |{CALCULATION TOTAL:Round+}

<J00> - Round+: |{CALCULATION TOTAL:Round+} would be the line you add

I put 2 spaces after <J00> and then one space after - its just so it is formatted to look like its for Taxes and not just another line under taxes

2 Likes

It is showing now and the layout is good. How to have it listed once instead of twice? did I do something wrong?

We will move it. One minute…

Ok move it out from under [TAXES] and put it between {TAXES} and [<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]

{TAXES}
<J00>  - Round+: |{CALCULATION TOTAL:Round+}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
2 Likes

:smile:

Thank you! I owe you one :wink:

Now just fix some formatting your missing some : after some of your lines :stuck_out_tongue:

If you want it to show it Right Aligned but still keep numbers in a line try putting all of those lines like this <J00>|Change Due: |{CHANGE TOTAL}

You may not like it but I personally think it looks more professional and easier to read

Like below:

[LAYOUT]
-- General layout
<T>Receipt
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
<J00>|Subtotal: |{PLAIN TOTAL}
{DISCOUNTS}
{SERVICES}
{TAXES}
<J00>|  - Round+: |{CALCULATION TOTAL:Round+}
[<J10>|Total Gift: |{ORDER STATE TOTAL:Gift}]
<J10>|Total: |{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>T H A N K   Y O U

[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>|{PAYMENT NAME}: |{TENDERED TOTAL}
<J00>|Change Due: |{CHANGE TOTAL}

[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

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

[ORDERS:Void]
-- Nothing will print for void lines

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

[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

[TAXES]
<J00>|{TAX NAME}: |{TAX AMOUNT}

Here is a sample of mine using that formatting. Now you may like the line breaks I personally do not use them so you will not see them in this. But you can see how it looks aligned this way. Notice My total, Subtotal etc is aligned to right but numbers are still perfectly justified. I offset my taxes a little to draw focus.

           MOORE'S DAIRY CREME            
      OWNER JESSE AND MELISSA PARKER      
            ( 999 ) 999 - 9999            
Ticket# 19    OP# Admin   TE# 1   TR# 2592
                                          
Type: Dine In            Customer: Jesse  
                                          
 1 Onion Rings                        1.80
 1 Banana Split                       3.20
 1 Burrito                            4.00
                         Subtotal     9.00
                                          
                  Tax 1  6.50 %       0.59
                  Tax 2  1.75 %       0.16
                           Total      9.75
                       Cash Tend     10.00
                      Change Due      0.25
                                          
          Your Waiter Was: Mary           
                                          
              # ITEMS SOLD 3
2 Likes

I just adjust mine. Yes, that looks so tidy and professional.
Thanks to you, I am nearly there, can’t wait to try it out in my restaurant :smile: @kendash

1 Like

If you get any questions about how I did something in my ticket template just ask I can share with you how to do it. You can not see it because Notepad will not print them so I left them off… but it also prints a QR code that takes customer to our website if scanned with their phone… and below that it prints a Barcode that contains the Transaction Number so I can scan it if they have an issue with something and it will pull their order up.

2 Likes