Receipt Printer Logo Print <BMP> vs Printer Storage

The NVRAM is inside the printer, check in the drivers, there should be a Logo Flash Utility.
What printer is it?

Hello,

It’s Epson TM-T20 II, and I found where in the printer utility. It prints from windows. But I can not print from Sambapos. I don’t know how to implement it to print into the the BILL/Ticket.

Thanks

There will be a command code just like the kick drawer code. If you save the image in the printer you need tonknow what the code is to put it in your template where you want it to print. I use this setup for my logo so i have the drawer kick code at the top of my template so the drawer opens as the receipt print and i have the image code next so that it prints at the top of the receipt

When you save the image in the printer its usually assigned a four digit code like 48 48 or whatever you saved it as. You need those four digits and the rest of the command code, i googled it for the code and format of where to put the four digit code. If i get chance later and i can get on ill post a screenshot of my code for the logo

Here are a list of commands for TM20.
https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=79

Ones relating to logo;

FS ( E <fn=60>Cancel set values for top/bottom logo printing
FS ( E <fn=61>Transmit set values for top/bottom logo printing
FS ( E <fn=62>Set top logo printing
FS ( E <fn=63>Set bottom logo printing
FS ( E <fn=64>Make extended settings for top/bottom logo printing
FS ( E <fn=65>Enable/disable top/bottom logo printing

The bit im not so familier with is I think you need to convert these codes to HEX?!? Rick or Emre might confirm that

EDIT
Looking at the tec ref guide;
http://tbwsupport.com/epson/tm-t20_eng_trg_revb_01.pdf

It look like unlike other models where you place the logo in position with a code you set top or bottom logo with the code.
Also suggests you can set auto top or auto bottom logo within the utility/driver.

You want the numbers to be in Decimal.

To print the logo stored at Keycode location 32,32 (default) on an Epson TM-T20II … place this XCT tag and code string in your printer template at the location where you want the logo to appear (i.e. at the top, after [LAYOUT])

<XCT>29,40,76,6,0,48,69,32,32,1,1
2 Likes

Thanks guys, and I don’t know what I will do without you. :smiley:

It’s on top now, but it’s not aligned, centered. I think that is from the printer’s software.

I will find a way :smile:

Thanks.

You should be able to store it centered using the printer software.

You could also try using the Enable Center printer tag:

[LAYOUT]
<EC>
<XCT>29,40,76,6,0,48,69,32,32,1,1
<EL>
2 Likes

Hey,

Yes, it worked with that. Thanks.

2 Likes

@QMcKay Could you please help me with my printer?
It is a generic Chinese POS 58mm printer. I used a tool to store logo into printer and it prints when I use that tool. (It also prints when I use <BMP>, but I want to see if this is faster.
This is the info from my printer manual. How do I figure out the <XCT> code?

I want to print it in normal mode

Highlight your post and press < / > button.

You will need something like this:

<XCT>28,112,n,0,48

You need to specify the value for n. As per your documentation, n is the number of the NV bit image. You printer software should allow you to set this number, and in the above command, replace n with that number.

2 Likes

Have you loaded the logo into the printer?
Im not sure is those budget 58mm printers support nvram logos - not saying they don’t mide.
Have you got a toll to load a logo in the driver?

It worked! :smile: Thank You!
I had to make a minor correction.
I had to use

<XCT>28,112,0,48

It seems like n has no effect on my printer. :stuck_out_tongue:

Yes, this printer had the feature to load NVLogo using a utility. I did that over USB. Printing is via Bluetooth.
Logo printing took a little bit of time, which has now gone. Almost instant. :smiley: