Out of range of valid value error

hello SambaPOS community, I have an error that will not permit me to print. It doesn’t happen all the time, but when it does it does not allow me to print out a reciept for my customers. please help.

Show your printer templates something is wrong with one of them.

I had this once and it was due to errors with printer template or item description. Try removing brackets and + symbols from item deecriptions and try them again

This is my printer template. I didn’t change anything in the printer template recently.

[LAYOUT]

-- General layout

<BMP>        c:\logo1.bmp

<L00>Thanh Phuoc Nguyen         |RFC:NUTH710821AJ3

<L00>Av. Universidad Ote. #121 - c.p. 76165 

<L00>Santiago de Queretaro, Queretaro

<L00>Tel: (442) 455-8382

<L00>web: www.chinitoqro.wix.com/chinito

<L00>FB: https://es-la.facebook.com/chinito.wings

<J00>

{ENTITIES}

<J00>Fecha: {TICKET DATE}|Hora:{TIME}|      Nota:|{TICKET NO}

<J00>

<J00>CAN. DESCRIPCION                 PRECIO  TOTAL

<F>-

{ORDERS}

<F>=

[<J00>|Sub-Total:    |$ {PLAIN TOTAL}] 

{DISCOUNTS}


[<J00>|Regalo:    |$ {ORDER STATE TOTAL:Gift}]

<EB>

<J01>|Total:   |$ {TICKET TOTAL}

<DB>

{PAYMENTS}
[<J01>|Cambio:   |$ {CHANGE TOTAL}]

<EB>

<J00>

<C01>AVISO
<C00>A partir de abril incluiremos 10% de servicio
<C00>en su cuenta para grupos de 6 o mas.

<F>=

<C01>GRACIAS POR SU VISITA!

<DB>

<F>=



[DISCOUNTS]

<J00>|{CALCULATION NAME}   |{CALCULATION TOTAL}



[PAYMENTS]

<J00>|{PAYMENT NAME}   |$ {TENDERED}


[ORDERS GROUP|PRODUCT GROUP]

<C00>--- {GROUP KEY} ---



[ORDERS GROUP:Promociones]

<C00>--- {GROUP KEY} ---



[ORDERS]

-- Default format for orders

<J00>{QUANTITY} {NAME}| ${PRICE}| ${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}



[ORDER TAGS:SABORES]

-- Leave empty to disable sabores on ticket



[ENTITIES:Table]

-- Table entity format

<J00>Mesa: {ENTITY NAME} / Clientes: {TICKET TAG:Guest Count} | Meser@: {USER NAME}



[ENTITIES:Customer]

-- Customer entity format

<J00>

<J00>Cliente: {ENTITY NAME}

<J00>Tel: {ENTITY DATA:Tel}

<J00>Direccion: {ENTITY DATA:Direccion}

<J00>{NOTE}

<J00>



[ENTITIES:SambaCard]

-- SambaCard Customer entity format

<J00>

<EB>

<J00>CLUB: {ENTITY DATA:Customer Name} tienes $[=FF('{ENTITY BALANCE}','#,#0.00;#,#0.00')] en tu cuenta!

<DB>

<J00>

Ok what is different with the orders that dont print and the ones that do? Is it a calculation?

i am able to print the bill, but the error apprears when i settle the order. It won’t print the settled ticket. As I mewntioned, it doesn’t happen all the time. This started to happen when I tried to follow the tutorial on how to re-open a settled ticket. I didn’t do all the configurations that it says such as “cancel settled payments”. I just followed the instructions related to re-open closed tickets and refresh tickets. I don’t know if I did something wrong or created a rule that screwed it up.

In response to your question - I have no clue… :confused:

If you can make a backup of your database and send to me in a pm I can take a look.

kendash, please excuse my ignorance, but how to i PM you?

I sent you an email with the database

Click on my picture choose send private msg. I did not get your email please click on my avatar picture and then choose private message.

It might be related with a specific payment type. Can you open a ticket with that issue click Settle button and post a screenshot? So we can see payment details.

Emre, this is the screenshot of the ticket I had to créate a new ticket and erase this one.

I haven’t had a problems so far today. We haven’t had many sales. but this is that my settle screen looks like.

OK when that happens please take a screen shot of payment details (settle screen displays it in more detail) so we can see how that ticket paid. Since you’re receiving that error while printing paid tickets that info may help.

I think it is your SambaCard payment type causing it. I noticed in the original screenshot you had a sambacard loaded as the Entity?

Emre, this is one of the tickets that will not allow me to print

Can you show that one while in the payment screen? I mean press settle then take screenshot?

That ticket was closed a while back.

So that was a customer account?

yes, but it happens when it’s not a customer account as well