Page 1 of 1

Thermal printer

Posted: Wed Oct 27, 2021 11:23 pm
by danielmaximiliano
Hola a todos: hoy me entregaron está impresora térmica USB.. la misma le falta el transformador 12v 3amper. Ya estoy solucionando la falta de este componente..
Alguien a trabajado con está impresora en la impresión de ticket?
Necesito modificar mis rutinas de impresión que tengo para poder utilizar en una nueva terminal P.O.S
Desde ya gracias

Hello everyone: today I received this USB thermal printer ... it is missing the 12v 3amper transformer. I am already fixing the lack of this component .. Has anyone worked with this printer on ticket printing? I need to modify my printing routines that I have to be able to use it in a new P.O.S terminal Thanks in advance
IMG_20211027_201635991_HDR.jpg
IMG_20211027_201635991_HDR.jpg (5.24 MiB) Viewed 1266 times

Re: Thermal printer

Posted: Thu Oct 28, 2021 9:05 am
by dragancesu
I used something similar a long time ago
working with it is like with epson printers, sending ESC sequences
probably known from before

http://www.easovation.com/wp-content/up ... HOPE58.pdf

https://gamingph.com/2016/10/58mm-therm ... -download/

link to manual and drivers are in attachments

Re: Thermal printer

Posted: Thu Oct 28, 2021 2:33 pm
by mol
I'm using it from time to time.
You can use windows printer driver, in this case it works like other printers.
These thermal printers often use ESC/P or ESC/P2 control codes, so you can print your text to file and then send it to printer

Re: Thermal printer

Posted: Thu Oct 28, 2021 7:58 pm
by franco
I use Star TSP100 or any STAR is the same. Must install drivers. Then use as normal text print. Lines are 4 per print and I always add font and size.
The width of 4 inch paper seems to be 54 spaces at size 8
This is a rough starting example to go from.

Code: Select all

Select printer
Pl= 5
Start PrintDoc
Start PrintPage
@ pl, 27-len(alltrim(companyname)/2) Print companyname font "Arial" SIZE 8
@ pl+4 , 1 Print "Item                                       Description                      Price"  font "Arial" Size 7
@ pl+8 , 1 Print Line to pl+8,80 penwidth .01
pl := 12
gotop
Do while ! eof()
@ pl,1 print ITEM font "Arial" size 6
@pl,22 print DESC font "arial" Size 6
@pl,70 print val(str(PRICE,10,2)) font "Arial" Size 7
pl := pl+4
skip
loop
Enddo
End PrintPage
End PrintDoc