Potential Bug: Last item from order not lined up

Hello,

On printed recpts, the last item in the list of order items is not correctly aligned, it is one character more to the right. It is hard to show here due to formatting, but to give an isea it would be something like this:

In other words:

1 Drink                      2.25
1 Drink                      3.00
1 Drink                     2.25                <-- this is the issue

Not sure if that is correct behaviour, in V2 it was not.

Is it possible to post a photo? Are you using receipt printer?

Yes I am using a recpt printer, POS58 - it works normally with SambaPOS v2 and v3. All the text after the last item is fine, it’s just that particular line.

http://s30.postimg.org/4l9lvbp0w/IMG_20131289.jpg

Can you post a screenshot or the content of the template? This is not something we’ve experienced before.

Sure:

<XCT>27,112,0,25,250

[LAYOUT]
-- General layout
<BMP>c:\HappyCoffee\recpt.bmp
<C00>Surcusal Santa Tecla
<C00>NIT: 0614-151011-101-4
<C00>Giro: Venta de Products N.C
<C00>9a Avenida Sur Local 2-1 B
<C00>Santa Tecla, La Libertad
<J00>
<EB>
<J00>Fecha: {TICKET DATE} | Hora: {TIME}  
Mesa: {ENTITY NAME: Table} 
-- <DB>
-- <J00>
-- <F>-
{ENTITIES}
<L>
<EB>
{ORDERS} 
<F>-
<R00>Total:  {TICKET TOTAL}
<R00>Pagado: {TENDERED TOTAL}
<R00>Cambio: {CHANGE TOTAL}
<R00>
<L>
<EB>
<F>*
<L>*    www.happycoffeesv.com     *
<L>*   Dale "Like" en Facebook    *
<F>*
<J00>
<C00>Cajero: {USER NAME}
<C00>Resolucion: {TICKET NO} 
<C00>Serie: 13DS05814405
<C00>Fecha Resolucion: {TICKET DATE} 
<J00>
<J00>
<J00>

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

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


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

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

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

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

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

Thank you for that. I’ve managed to reproduce the issue. I’ll let you know my results.

The problem is the single space character after {ORDERS} tag. It looks weird but what it does makes sense :slight_smile:

Yes that did the trick, thank you.

I thought I have the same issue, but couldn’t find extra spaces so my issue musst be caused by a different thing

for anyone having a possible similar issue >>