Printing issue- settle button prints out the code instead and a large gap

Printing issue- settle button prints out the code instead and a large gap

Im not sure whats gone wrong since it was working just fine originally

Here is my code

[LAYOUT]
-- General layout
<C11>Nelsons Bar
<J00>
<J00>{TICKET DATE} {TICKET TIME}|Server: {USER NAME}
{ENTITIES}
<EB>
[<L00>NOTE: {NOTE}]
<DB>
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<J00>Total FREE:|{ORDER STATE TOTAL:Gift}]
<J00>Subtotal:|{PLAIN TOTAL}
<DB>
{TAXES}
{SERVICES}
<EB>
<J10>TOTAL:| {TICKET TOTAL}
<DB>
<F>-
{PAYMENTS}
[<L00>CC Info: {TICKET TAG:CCtype} ({TICKET TAG:CCdigits})]
[<J00>CHANGE:|[=F(TN('{CHANGE TOTAL}'))]]
[<F>=
<J00>{TICKET TAG:GCN}|Balance: [=F(TN('{TICKET TAG:GCB}'))]]
<F>*
<C00>Thank you for visiting          
<F>*
<C00>Nelsons Bar
<C00>Melville Rd,
<C00>Southsea,
<C00>Portsmouth,
<C00>PO4 9TB
<C00>VAT Number: 251 5179 14
<XCT>27,7,10,50,7
<XCT>27,112,0,48
<cut>

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

[PAYMENTS]
<J00>{PAYMENT NAME}: | {TENDERED}

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

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

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

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

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

[TAXES]
<J00>Tax Total:|{TAX TOTAL}

Any help would be great.

Check that the SambaPOS Printer configuration is in ESC/POS (Ticket) Mode.

Hi @QMcKay I have this setup. As shown.

I have this setup on three tills and none of them seem to be working. Thanks for your help

How are you triggering the print? Are you sure its on the settle button as this would not be a great place for a receipt as you wouldnt have put price in yet.
Have you put the print job after close ticket action on whichever rule you have put it on? Ie the ticket has been closed so no info for the tags to look at?

I have this problem sometime. I just turn off - turn on printer and maybe restart Samba client.

So when we put all item through and settle it auto prints a receipt. So that is after we put in the items and how much money has been given

Yes, but that’s not specific enough, there are several places that could be triggered, like payment processed, before closing, ticket closing, even a couple more but most likely one of those.
Show a screenshot of tge rule which contains the print action relating to this…
It’s not a default flow so is either a new rule or extra action in a default rule.
Is this happening every print?

Automations ran “Action” Print Bill rule

In Rules I have Print Bill rule

with a mapping of:


I also have these rules in here. I dont believe I added them

And finally automation command I have print bill with this mapping

The Action used for Print Bill should have the Print Ticket parameter set to True.

That would prevent the receipt code being printed out?

You said that print was on payment, but showed the manual print button rule.
Show the contents of the payment processed rules.

Here is all the automations for payment processed

Automation Command (Settle)

Rules

(Print for Cash)


Mapping:

(Print Credit Card)


Mapping:

These are the actions behind the rules
(Print Cash)


(Print Credit Card)

1 Like