How can i add logo into reciept

How can i add logo into reciept?

Two options, you load dmp into printer memory and trigger print with command code. Depending on printer this can print allot faster.
Put single colour BMP image in a directory on each terminal which samba has permissions for and do;
<BMP>c:\whatever directory\filename.bmp
In template.
The second method can be slow to print if not compressed image correctly and depending on printer.


Hello sir! Thanks in advance for help.
I now try to do it but it is not work.! it shown message like this
**"Initialization of System.Window.Media.Imaging.bitmapImage’ Threw an exception Line Number ‘1’ and line position ‘304’

Show your template, you’ve formatted something wrong and until we see your template we can’t help

Hello Sir! Actually we newly user, so we want to update our receipt !
Here is my code:
– General layout–
<BMP>C:\Users\Mr. DAY\Documents\SambaPOS5\Logo1.bmp

<div style=“font-size:25px;font-weight:bold;text-align:center;font-family:‘Calibri’”>TRUMP COFFEE</div>
<L00> No.6 Corner Lok Taneuy, Banteay Chas, Siem Reap
<L00> Tel: 012 55 33 22 11
<L00>No :SR-100{TICKET NO}
<L00>Cashier:{USER NAME}
<div style=“font-size:13px;font-weight:bold;text-align:left;font-family:‘Calibri’”>
<td width=“25”>Qty</td>
<td width=“196”>Item Desription</td>
<td width=28 align=right>Price</td>
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
<J10>Grand Total(US):|{TICKET TOTAL}
<J10>Grand Total(Riel):expressionless:

<L00>Cash Received :
<L00>Changed :

<C10>T H A N K Y O U




– Default format for orders

– Format for gifted orders

– Nothing will print for void lines

– Format for order tags

– Table entity format
<L00>Table: {ENTITY NAME}

– Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

I see HTML code there, that kind of info its good to mention, pretty sure you have to use <img xxxxxx> html type code if using HTML mode.

1 Like

Dont need to use < IMG > i use html printer type and my logo file path is as below


i did like these is it right?
<img src="" width="150" height="30">

You dont need to do all that, check your image path is it correct, spelt correctly, capitals in correct place etc

is there actually a space between Mr. and DAY (Mr.DAY or Mr. DAY)

Failing that remove your logo and just put it in the documents folder and not within the sambaPOS5 folder so your link where your logo would be saved is:

<BMP>C:\Users\Mr. DAY\Documents\Logo1.bmp

It may need to only be in the document folder

Paths with space might be the reason of the issue. Place your file under some simple path like


Thanks so much to Emre
Now i can do it

hello @emre , I do not know why it show logo but it display code as well.
how can solve this ?

Does it actually print the code?
You should also update there is a newer version in release category.

yes it printed with code

Guess it is set as html printer
Try replacing



 <img src="C:/logo/logo4.BMP">
1 Like

@KryptonFactor a quick forum tip if you want to format code use ``` before and after .

PS Quit killing my formatting lol. Ill edit it for you.

You can even define a language like following

<img src="C:/logo/logo4.BMP">

But for most cases it autodetects.

1 Like

Cheers was using my phone :+1:

1 Like