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?
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.
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
Now just fix some formatting your missing some : after some of your lines
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
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.