Setup Code for ticket printer to Generate Barcode automatic all sales V4

And here is the POS screen when i scanned POS Screen

in your rule can you expand the blue action box and show us what is typed there, you should have Ticket ID set as [:NumberpadValue] as that is the value the action is looking for to be able to display the ticket, if it is blank that is why nothing is happening as the action isnt complete

1 Like

Okay under there i had [:NumberpadValue]

BTW you can insert pictures directly to forum. No need to host them. Click on the little button to right of </> button

Or paste it directly in.

1 Like

WOW jaja thank you @Jesse

Ok check mappings are they set? You should always set default mappings for every rule you make or they will never work.

1 Like

You guys are the best thank you so much was just missing the mapping

1 Like

Glad you got it working :slight_smile:

my bad [:NumberpadValue] is the correct thing for the action i mistyped before

1 Like

Here is a completed copy of the receipt thank you so much again to both for the help makes it so much easier to look an order.

1 Like

Very nice layout. Good to see another USA business using SambaPOS!

1 Like

Hey guys I follow all the steps and check few time but always I get this screen :smile:

There is a problem while printing check printer and printer template setting

Error message:
Value cannot be null
Parameter name:text

We need to see your template. Also show your rule with actions expanded

[LAYOUT]
-- General layout
<BMP>c:\logos.bmp
<EB>
<C11>DoctorPCSolution
<C10>Your Solution
<L>
<C00>4055 E 8 Ave 
<C00>Hialeah Fl 33013
<C00>Phone: 305-7497998
<DB>
<L>
<C00>Website: www.drpcsolution.com
<C00>Email:support@drpcsolution.com
<L>
<J00>Date: {TICKET DATE}|Tax Invoice:| {TICKET NO}
<J00>Time: {TIME}|Sales Rep:{USER NAME}
<L>
{ENTITIES}
<L00>----------------- Items ------------------
<L>
{ORDERS}
[<L00>----------------- Notes -----------------
<L>
{NOTE}
<L>]
<L00>----------------- Total ------------------
{DISCOUNTS}
-- [<J00>Total Gift|${ORDER SALES TOTAL:Gift}]
<EB>
<J00>Subtotal|$ {PLAIN TOTAL}
<J00>Sales Tax|${TAX TOTAL}
<J01>Total|$ {TICKET TOTAL}
<DB>
<J00>Tendered|${TENDERED TOTAL}
<J00>Change|${CHANGE TOTAL}
[<L00>---------------- Payment -----------------
{PAYMENTS}]
<F>-
<C10> T H A N K   Y O U
<L>
<EC>
<BAR>{TICKET ID}
<L>
<C00>NO REFUND, Exchange ONLY accepted within 7 days
<C00>from purchase date in original packaging,
<C00>apply to Accessories Only.
<C00>No returns on Cellphones, Tablets,
<C00>Computers or Software.
<C00>All Repair have 7 days Warranty
<C00>Only With Receipt
<C10>>---------------- 10% OFF -----------------
<C10>KEEP AND SAVE ALL YOUR RECEIPT.
<C00>After 5 visits to our store you'll receive
<C00>a discount on any products or services
<C00>with original receipts. 





[DISCOUNTS]
<J00>{CALCULATION NAME}[=F('{CALCULATION AMOUNT}')]|{CALCULATION TOTAL}

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

[ORDERS]
-- Default format for orders
<L00>{NAME}
<J00>{ORDER TAGS}|{QUANTITY}x ${TOTAL}
<L>

[ORDERS:Gift]
-- Format for gifted orders
<L00>{NAME}
<R00>{QUANTITY}x *GIFT*
{ORDER TAGS}
<L>

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

[ORDER TAGS]
-- Format for order tags
* {ORDER TAG NAME} - RRP ${PRICE}

[ENTITIES:Customer]
-- Customer entity format
<C00>Account: {ENTITY NAME}
<C00>Balance: $[=F(0-TN('{ENTITY BALANCE}'))]
<L>

[ENTITIES:Layby]
-- Customer entity format
<C00>Layby: {ENTITY NAME}
<C00>Balance: $[=F(0-TN('{ENTITY BALANCE}'))]
<L>

[ENTITIES:Gift Certificate]
-- Customer entity format
<C00>Gift Certificate: {ENTITY NAME}
<C00>Balance: $[=F(0-TN('{ENTITY BALANCE}'))]
<QR>{ENTITY NAME}
<L>

So when you try to open a ticket with NumberPadValue it says that? Can you show any rules that has an Execute Print Job action in them?

You must have a rule thats executing a print job when ticket displayed. check all your rules… also check for rules with no constraints that contain print job action.

maybe this have some error?

Yes that would probably be it. You might want to find a different flow for that. Why were you using that?

BTW {TICKET STATE=Status} is wrong… its {TICKET STATE:Status}

This is for the same proposal we fine in the forum before I think#$#