Character "B" contains my invoice

[LAYOUT]
-- General layout
<div style="text-align:center;">
<L00>Papa's Pizzeria HP
<L00>41B Cat Cut, Le Chan, HP
<L00>SDT: 0934.293.893
<L00>Email: papapizzeria@gmail.com
<L00>Ticket: {TICKET NO} {TICKET DATE} {TIME}
{ENTITIES}
</div>
<C00>---------------------------------------
{ORDERS}
<C00>================================
<EB>
{DISCOUNTS}
[<J10>Khuyen mai: {ORDER STATE TOTAL:Gift}] VND
<J10>TONG CONG: [=FF('{PRICE}','#')] [=FF('{TICKET TOTAL}','#')] VND
{PAYMENTS}
<DB>
<L00>[Tien tra lai: [=FF('{CHANGE TOTAL}','#')] VND]
<C00>====================================
<J10>CAM ON QUY KHACH 
</div>
[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}: [=FF('{TENDERED}','#')] VND

[ORDERS]
-- Default format for orders
<J00>{NAME} (SLx{QUANTITY}) | [=FF('{TOTAL AMOUNT}','#')] VND
{ORDER TAGS}



[ORDERS:Gift]
-- Format for gifted orders
<J00>{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>Ban: {ENTITY NAME}
<L00> =====================================
[ENTITIES:Customer]
-- Customer entity format
<C00>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<C00>Khach hang: {ENTITY NAME} 
<C00>SDT: {ENTITY DATA:Phone} 
<C00>So du tai khoan:  [=F(0-TN('{ENTITY BALANCE}'),'#')] VND

My setting http://i.imgur.com/oMKuySO.png

"Ticket Printer " problem, I choose HTML printing okey, no problem, But I want using “Ticket Printer” Help me please.

I tested your setting and no “B” in my print.
Try lower your “Line character count” in Printer setting to 36

I try again but always “B”, Kitchen Invoice, Report invoice… all them contains B, Can you check again, please.

I saw this happen before when I was testing a different model printer. I don’t know the exact reason for it, but it does have something to do with if you are trying to print too many characters on one line. I can see from your image that right now you have the line character count setting wrong (the === is cut over 2 lines). If you update that, then it should make the “B” go away. I am guessing from your printer name that you have a 58mm printer, but 42 characters is more typical of a 80mm printer. Reduce it and after some trial and error you should get it working

On the printer setting page, update the Line Character Count:

Also a couple things I noticed about your printer template that might help you format it better:

  1. Any lines with the same character (like ===) you can just do with the formatting tag <F>=. Then you also don’t need to worry about the number of characters to use to make a full line as it’s automatic.
  2. You appear to be using the large font on your printer but I can’t see you specifying it anywhere on your template. Possibly it is a default on the printer? You should specify the character size on each line to have more predictable results, like <L00> to have left aligned, normal size, <C10> to have centre aligned, double height characters, etc. You can read full details of all the formatting tags available here:

can you show me your printer template again, but with the tags.
example : “< B00 >” blablabla

[LAYOUT]
-- General layout


Papa's Pizzeria HP
41B Cat Cut, Le Chan, HP
SDT: 0934.293.893
Email: papapizzeria@gmail.com
Ticket: {TICKET NO} {TICKET DATE} {TIME}
{ENTITIES}

---------------------------------------
{ORDERS}
================================

{DISCOUNTS}
[Khuyen mai: {ORDER STATE TOTAL:Gift}] VND
TONG CONG: [=FF('{PRICE}','#')] [=FF('{TICKET TOTAL}','#')] VND
{PAYMENTS}

[Tien tra lai: [=FF('{CHANGE TOTAL}','#')] VND]
====================================
CAM ON QUY KHACH 

[DISCOUNTS]
{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
[PAYMENTS]
{PAYMENT NAME}: [=FF('{TENDERED}','#')] VND

[ORDERS]
-- Default format for orders
{NAME} (SLx{QUANTITY}) | [=FF('{TOTAL AMOUNT}','#')] VND
{ORDER TAGS}

[ORDERS:Gift]
-- Format for gifted orders
{NAME}|GIFT
{ORDER TAGS}

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

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

[ENTITIES:Table]
-- Table entity format
Ban: {ENTITY NAME}
=====================================
[ENTITIES:Customer]
-- Customer entity format
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Khach hang: {ENTITY NAME} 
SDT: {ENTITY DATA:Phone} 
So du tai khoan: [=F(0-TN('{ENTITY BALANCE}'),'#')] VND

You shouldnot put “< B00>” in front of “[LAYOUT]”

1 Like

I change DEFAULT TEMPLATE but not effect, B still contains
Default template

I set character count setting 48 -> 20 but not effect.
Help me. :frowning:


Looks like someone having same issue
I think thats printer related issue, Try the solutions from that post and do tell if it’s not worked.

Problem not sloved, I’m try notepad and print, everything okey. :frowning:

Whats the brand and model of your printer?
Is this the first time you use this printer in SambaPOS?
Is there any printer software tools included in your printer driver CD?
Have you try change your Printer type to ESC/POS emulated Printer instead Ticket Printer ?

1 Like
  1. I’m using Model Tawa prp 085 mini

  2. Yes, First time

  3. No, Just only Drivers POS-58

  4. Sorry, I just have only model Tawa PRP 085 MINI

Here

I’ve been searching internet for that printer and the problem, but all of the web in vietnamese language. :frowning: i don’t understand.
Perhaps other people have experience with the problem can give you solution.

Can i suggest for you. :sweat_smile:
If you just bought the printer from local shop, ask them if it can be trade in with other brand? Use a good quality printer for your business. I use Epson ( TM- T82 ), it fast, reliable and come with many software tools.

Try my Driver

POS58.zip (614.3 KB)

2 Likes

Can you give me link Vietnamese please. I Understand Vietnamese

THank you

But :frowning: Still B B B B B B B B :frowning: :frowning: :frowning:

You have drivers for win10 ??

I’m just typing “TAWA PRP 085 Mini Printing problem b character” keyword in google, and i get many website in vietnamese, perhaps you can type the keyword in vietnamese for better result.