Author Topic: Receipt printer template and incorrect print  (Read 10432 times)

DQ

  • Jr. Member
  • **
  • Posts: 82
Receipt printer template and incorrect print
« on: February 20, 2013, 05:06:44 am »
Hello,
 I have some issue with Ticket template and actual print.

 For a purchase of $1.50 item, customer pays 0.50 cents using voucher and $1 using cash.
The ticket receipt has incorrect information as shown in below receipt.

==========================================
Ice-cream
2/20/2013:5:54 AM
==========================================
- 1 Cone 1.00
==========================================
Total: 1.50
Tendered $0.50
Change Due $0.00
Paid: 1.50
Grand TOTAL: 0.00
==========================================
T H A N K Y O U

Issues"
1. In line item where it shows - 1 Cone 1.00, The actual amount is $1.50 but because 0.50 cents was paid using voucher, it shows in-correct amount. It shows correct amount of $1.50 in Total.

2. Tendered 0.50: It should show 0.50 for voucher and $1.00 for cash

3. Paid $1.50 : What is this amount?

4. Why Grand total Shows 0.0?

Below is my template:
Header:
<F>=
<T>Ice-cream
<L00>{TICKET DATE}:{TICKET TIME}
<F>=

Line:
<J00>- {QUANTITY} {NAME}| {PRICE}

Gift Line Template:
<L00>{QUANTITY} {NAME} |GIFT

Void Line template:
{REASON}

Footer Template:
<F>=
<EB>
<J10>{IF DISCOUNT}
<J10>[Total Gift:|{GIFT TOTAL}]
<J10>Total:|{TICKET TOTAL}
<J00>Tendered|${TICKETTAG:Tendered}
<J00>Change Due|${TICKETTAG:Change Due}
{IF PAID}
<DB>
<F>=
<C10>T H A N K    Y O U

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Receipt printer template and incorrect print
« Reply #1 on: February 21, 2013, 03:30:05 pm »
Instead of {PRICE} try other related tags listed on the template screen. For example {TOTAL PRICE} might work.

DQ

  • Jr. Member
  • **
  • Posts: 82
Re: Receipt printer template and incorrect print
« Reply #2 on: February 22, 2013, 11:17:54 pm »
{TOTAL AMOUNT} did work. Thanks!!