Template printing error after update

I have a problem with this template after an upgrade!
the products are no longer being printed.
was made some changes?

 [LAYOUT]
    <C00>Ricevuta N: {SETTING:Ricevuta}/[=FD('{DATE}','yyyy')]
    <F>-
    {ORDERS}
    <F>=
    <EB>
    {DISCOUNTS}
    {SERVICES}
    [<J10>Totale Offerto:|{ORDER STATE TOTAL:Offerto}]
    <J00>Totale:|{TICKET TOTAL}
    <C00>{DATE} {TIME} 

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

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


[ORDERS GROUP|PRODUCT GROUP]

<J00>{QUANTITY SUM}  {GROUP KEY}|{GROUP SUM}
[ORDERS:Annullare]
-- Nothing will print for void lines

[ORDER TAGS]
-- Format for order tags
<J00> * Variazione

[ENTITIES:Tavolo]
-- Table entity format
<L00>Tavolo: {ENTITY NAME}

[ENTITIES:Cliente]
-- Customer entity format

You don’t have [ORDERS] section in your template.

1 Like

I used

[ORDERS GROUP|PRODUCT GROUP]

{QUANTITY SUM} {GROUP KEY}|{GROUP SUM}

to print products grouped by category,
now after the update are no longer printed

at the time I followed this guide,
worked perfectly, not anymore

What version did you upgrade from… and what version did you upgrade to?

BTW maybe check this out it might be useful.

I switched to 4.1.82
if I’m not mistaken the 4.1.41

@spanky I think that changed to let people skip specific groups on prints. I assume you want to print only groups so including that in your template will solve your problem.

[ORDERS]
<J00>

I tried, but as you can see the result is not the same as before.
if the products are many much space is left blank.
I tried to go back with version 4.1.41 but to me error opening sambaposs

So instead of <J00>you can try…

  1. <J> tag
  2. adding one or two space characters.

One of them should work.

I tried with tag
and do not know where to add the two spaces.
Can you explain with an example.
thanks emre

[ORDERS]
<first space><second space>

I mean don’t type <first space>. Press space bar key twice on your keyboard.

I tried to add this:

[ORDERS]

[ORDERS GROUP|PRODUCT GROUP]

- {QUANTITY SUM} {GROUP KEY}|{GROUP SUM}

with two space

the result is always the same as in the picture

Hmm weird… We should add something under [ORDERS] section but it should generate no value to skip blank lines. My suggestions works fine for demo printer but I can’t test it with a real printer because I don’t have one atm. Can you try one more thing?

[ORDERS]
{SETTING:X}

nothing, the space is still inserted.
How come I can not even go back to an old version of sambapos?
least momentaniamente to work.

I noticed that the error comes out from version 4.1.69 to 4.1.71
so it has to do with these changes:

OK. I think I found a way to skip blank lines. Can you try this?.

[ORDERS]
<skip>

As there is no existing <skip> tag it should skip that line.

then, the result is this:
if I post

[ORDERS GROUP|PRODUCT GROUP]

<J00>- {QUANTITY SUM} {GROUP KEY}|{GROUP SUM}

[ORDERS]
<skip>

the result is this

but if I enter this

[ORDERS]
<skip>
[ORDERS GROUP|PRODUCT GROUP]

<J00>- {QUANTITY SUM} {GROUP KEY}|{GROUP SUM}

the result is this

is as before if it were not for the space between the lines.
the result is good, but there is a way to remove the space?
thanks emre