Help with a printer issue

I have a Star TS 143 Cutter receipt printer (IP) that prints correctly most of the time but occasionally the format of the print screws up. What is strange is sometimes drinks will print fine and food items are screwed up and other times food is correct and drinks don’t format correctly. I have an example but I’m not sure how to attach a file.

I would appreciate any suggestions or solutions if anyone else has had similar issues.

It’s difficult to fully understand the issue you are facing.

  1. Can you show screenshots of your current printer configuration in SambaPOS.
  2. Also, please copy/paste your printer template (in to a </> code section of your reply)
  3. Finally, can you also share photos of the recipts when they are correct and when they are “screwed up”

I have an example as a PDF file but don’t know how to paste it into a message.

receipt.pdf (212.4 KB)

Drinks and food use the same template.

Can you please share the drinks/food template.

It the issue you are talking about that the price is wrapping on to the next line on the ticket?

Are you sure the number 30 for Line Character Count is correct? Looking at your receipt, it looks like your printer can print mroe than 30 characters per line.

Here is his PDF

You don’t need to make PDF. Just copy and paste like those screenshot.

Are your sure your are using ESC POS printer? I don’t think ESC POS will do line justify like that.

Sorry I sent the wrong one. The one I sent was the kitchen printer. I also included the printer template.

[LAYOUT]
-- General layout
<T>Customer Receipt
<L00>
<L00>
Date:{TICKET DATE} | Time:{TIME}
<L00>
<L00>
{ENTITIES}
<L00>Sagra Bistro
<L00>620 Main Street
<L00>Hellertown, PA 18055
<L00>(484) 851-3220 | sagrabistro.com
<L00>
<L00>
<C10>{ENTITY NAME:Table}{ENTITY NAME: TO GO}
<L00>
<C10>Server: {USER NAME}
<F>-
<L00>
{ORDERS}
<L00>
<F>=
<L00>
<EB>
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
{SERVICES}
<J00>Sub-Total:|{PLAIN TOTAL}
<J00>Sales Tax:|{TAX TOTAL}
<J00>TOTAL:|{TICKET TOTAL}

<L00>
<L00>Tip:<F>_

<L00>
{PAYMENTS}
<DB>
<F>=
<L00>
<C10>T H A N K   Y O U
<L00>
<L00>*Book The Bistro 
<L00>
<L00>*For Your Next Party 
<L00>
<L00>*or Event
<L00>
<L00>
<L00>
<L00>
[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**

[ORDERS GROUP|PRODUCT TAG:Category:Drinks]
<C00>{GROUP KEY}

[ORDERS FOOTER]
<R>Total: {GROUP SUM}
{Order Tag}

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

[ORDER TAGS]
-- Format for order tags
<J00>  * {ORDER TAG NAME} | {ORDER TAG PRICE}
[ORDER TAGS:Cooking Temperature]
[ORDER TAGS:Additional Burger_Sandwich Sides_2]
[ORDER TAGS:Remove from Salad]
[ORDER TAGS:Pienza Pasta Modifiers]
[ORDER TAGS:Change Course]
[ORDER TAGS:Salad Dressing]
[ORDER TAGS:Course Change]

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

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

Line character count is wrong for one. thats why the ====== isnt full width.
HTML doesnt layout the same way and not used myself.

When you post a template you need to highlight the code and click the code </> button on the post toolbar else forum will strip the code which makes it hard to see any problems.