Receipt Print Issue

Hi,

I have an issue with my receipts. I have a template setup however when it prints there is VB on top and ! marks in front of each line.

Below is the template i am using

[LAYOUT]
– General layout

xxxxxxxxxxxx
xxxxx & xxxx

xxxx
xxx
xxxxx


xxxxx
xxxxx

Date: {TICKET DATE}|Tax Invoice:| {TICKET NO}
Time: {TIME}|Sales Rep: {ENTITY NAME:Staff}

{ENTITIES}
------------------ Items -------------------

{ORDERS}
[------------------ Notes -------------------

{NOTE}
]
------------------ Total -------------------
{DISCOUNTS}
– [Total Gift|${ORDER STATE TOTAL:Gift}]
GST (Inc)|$[=F(TN(’{TICKET TOTAL}’) - TN(’{TICKET TOTAL}’)/1.1)]

Total|$ {TICKET TOTAL}

Tendered|${TENDERED TOTAL}
Change|${CHANGE TOTAL}
[----------------- Payment ------------------
{PAYMENTS}]
-
T H A N K Y O U



[DISCOUNTS]
{CALCULATION NAME}[=F(’{CALCULATION AMOUNT}’)]|{CALCULATION TOTAL}

[PAYMENTS]
{PAYMENT NAME}|${PAYMENT AMOUNT}

[ORDERS]
– Default format for orders
{NAME}
{ORDER TAGS}|{QUANTITY}x ${TOTAL}

[ORDERS:Gift]
– Format for gifted orders
{NAME}
{QUANTITY}x GIFT
{ORDER TAGS}

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

[ORDER TAGS]
– Format for order tags

  • {ORDER TAG NAME} - RRP ${PRICE}

[ENTITIES:Customer]
– Customer entity format
Account: {ENTITY NAME}
Balance: $[=F(0-TN(’{ENTITY BALANCE}’))]

[ENTITIES:Layby]
– Customer entity format
Layby: {ENTITY NAME}
Balance: $[=F(0-TN(’{ENTITY BALANCE}’))]

[ENTITIES:Gift Certificate]
– Customer entity format
Gift Certificate: {ENTITY NAME}
Balance: $[=F(0-TN(’{ENTITY BALANCE}’))]
{ENTITY NAME}

Reciept Test

That’s what’s showing when I do a preview… Not sure I understand exactly what challenge you having. but below is the default Template:

[LAYOUT]
-- General layout

<T>=====RECEIPT====
<C00>
<EB>
<C10>Company Name
<DB>
<C00>Shop #
<C00>Location
<C00>
<C00>TXA ID
<C00>Cell:
<C00>Tel:
<L00>Cashier:{USER NAME}
<L00>Date:{TICKET DATE} {TIME}
<L00>Receipt No:{TICKET NO}
<L00>Hair Dresser:{TICKET TAG:SPA} {TICKET TAG:Barber} {TICKET TAG:Salon}
{ENTITIES}

<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
{SERVICES}
<J10>Total:|{TICKET TOTAL}
<J10>Tendered:|{TENDERED TOTAL}
<J10>Change Due:|{CHANGE TOTAL}
<DB>
<F>=
<C10>LOOK GREAT, FEEL GREAT

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

[SERVICES]
<J00>{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}

[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]
<C00>Account: {ENTITY NAME}
<C00>Balance: K[=FF{(ENTITY BALANCE)}','#,0.00;#,#0.00']

Those chars will be from printer not samba.
Have had similar before of cheap China clone printers not fully xctpos compatible.
How do you have printer configured?

1 Like

I see the same thing when I look at the preview however when it gets printed it has the issue.

The printer is STAR TSP100IIILAN

Here is a screenshot of it

You need to go to your star printer settings and enable esc/pos emulation mode. This is in the star drivers settings not sambapos. You can google Star esc/pos for instructions on how to do that.

Hi Jesse, it is set to ecs/pos mode in the configuration utility. I will reset it anyway and test.

Show a screenshot of the setting just to be sure you set the right one.

Capture

You also need to make sure to enable ESC/POS in Print Job Routing.

image

1 Like

Hi Scott,

Apologies and Thanks it did the trick for TSP100 but the issue is still there in STAR SP712. It could be another setting

this is how it looks

Capture

I’m not familiar with that model, but this link might help.