Barcode Open Ticket Scanning To Cash Out Customer

Pick
Another spot and put {TICKET ID} it will show the number if tag used outside barcode tag

outside barcode tag ? like this `

[LAYOUT]
-- General layout
<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
{BARCODE}{TICKET ID}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
{SERVICES}
<J10>Total:|${TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<BAR>{Ticket ID}
<C10>T H A N K   Y O U

[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]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}`

Remove {BARCODE} from the start of it you dont need that, if you just want to display the actual number of the ticket ID just use {TICKET ID} somewhere In you template

I have mine at the top, centered and in a larger font size so i think mine is something like <“C11”>{TICKET ID} and thats all you need, the C centers the ticket id on the receipt and the 11 makes the height and width of the text bigger

(Youll need to remove the speech marks “” as im on my phone i had to ad those so the tag would show)

This is my setup

the actual receipt looks like this

1 Like

this is the receipt i did before i added order {TICKET ID}

the problem i am having is that i will scan the barcode and it will read {ticket ID} . not a number.

i scanned a alcohol bottle the code shows up.

now i

 [LAYOUT]
-- General layout
<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<C11> Order {TICKET ID}
<F>-
{ORDERS}
<F>=
<EB>
{SERVICES}
<DB>
<F>=
<BAR>{Ticket ID}
<C10>Please Give ticket to the Cashier.

[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]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

This waiter takes the order then gives the ticket receipt to the customer which gives it to the cashier to cash them out .
i want the ticket coming from the waiter to have a barcode that the cashier will just scan so they can cash the customer out
what is the problem here .

For {TICKET ID} to produce a number the ticket MUST be closed first. So if you print a ticket before it is closed it will not produce anything. Ticket ID is not generated until ticket is closed. So move your Execute Print JOb action to a Ticket Closed Rule and you should look at the Autoprint in Prebuilt Databases as you would need to define a State flow for it or you will get unwanted ticket prints.

I recommend downloading the Autoprint database tools file and study it or use it if you think it fits your need it is located here:

http://forum.sambapos.com/t/database-import-tool-pre-built-solutions/2797

I have {TICKET ID} at the top in numbers so that if barcode is damaged or unscannable you can key in the ticket ID number instead which is exactly the same as scanning a barcode that is set as the ticket ID

for the barcode to print as the ticket ID you need the following in your template

<BAR>{TICKET ID}

If you have the above BAR tag in your template and your ticket does not open when scanning the barcode or keying in the number there is something wrong with your rules and actions

@rickh his template is fine. Its just not printing a number which means he probably has the print command sent before ticket is closed.

Sorry im being naughty and driving and messaging and didnt properly see the template, my next advice was to ensure it was set to after ticket closed but i then saw your comment :slight_smile:

Please Tutorial, dont work for me

I did everything as instructed, but does not work for me

What doesn’t work? You need to share more before we can help. Do not expect tutorials every time you have trouble. You need to put some work into this as well. Can you explain what you have done and what you expect it to do? Also provide screenshots.

To select the card with barcode to go right to payment screen
follow all the rules and action, but does not work

have you applied mapping to the rule?show us a screenshot of you mapping

Did you setup the rest of it? show us the other setup specifically your display ticket on numberpad event. Also when are you printing the ticket?

Ok so when are you printing the ticket?

Show screenshots of your print ticket/receipt rule

when I do the scanner barcode printed ticket
shows only the paid and not the tikets not paid

My Print Template