![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bg1.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
KP628C thermal printer module manual
edition V1.0
E-mail:sales@cashinotech.com
website:http://www.cashinotech.com
address:5/F.,Building 2,No.828,Fanghu Nourth 2 Road,Huli District,
TEL:86-592-5517253
FAX:86-592-5231815
This specification are to change without prior notice,
The latest version contact with xiamen KaiSheng electronics technology co., LTD
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bg2.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
Contents
1. PRODUCT OVERVIEW 2
2. PRODUCT FEATURE 2
3. PRODUST PART NUMBER 2
4. PRODUCT SPECIFICATION 2
5. INTERFACE BOARD FUNCTION 3
J2 POWER XH02/2.54 3
J3 TTL 3
J4 RS232 4
CN1 USB CONNECTOR 4
6. PRODUCT DIMENSIONS 4
7. MECHANISM DATA 4
8. CUTTER 5
9. CONTROL BOARD 5
9.1 INSTRUCTION LIST 5
9.2 INSTRUCTION 7
①print and paper loading 7
②print setup 8
③graphics print 17
④table print 24
⑤1D barcode print 26
⑥2D barcode print 31
⑦status inquiry 34
⑧others 37
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bg3.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
1. Product description
KP628C is composed by thermal mechanism,cutter,control board. KP628C is two
inches high speed printing module , The print module is suitable for multiple
applications,Such as self-service terminal equipment,queuing machine,parking
system,bank and other printing equipment.
2. Product feature
◆
Compact structure design
86.5W x 52.0 D x36.0 H mm (without control board)
◆high print speed 80mm/s
◆
auto-cutter,all cutting and half cutting
◆cutter can be up to 110 degrees, easy paper feed
◆easy paper loading
◆
detection paper, auto paper feed
◆wide voltage (5V-9V)
◆long life :TPH:50km;100 million pulses
◆
cutter:100 million times
◆front paper out,character up
3. Product specification
item specification
model
KP-628C
Print method Thermal dot line printing
Dot structure 384 dots/line
resolution 8 dots/mm
Dot pitch(horizontal) 0.125mm(8dot/mm)--dot density
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bg4.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
Dot pitch(vertical)
0.125
mm(8dots/mm)--line feed pitch
Effective printing area 48 mm
Number of columns ANK 32 columns/line(maximum12x24dot font)
Paper width
57.5±0.5mm
Paper thickness
60 to 85 μ m (
some paper in this range may not be used because
of paper characteristics
)
interface RS232+TTL+USB
Power supply
For Print head
4.2-8.5VDC ,average current1.8A(at 5V)
2.6A(at7.2V),2.8A(at8.0V)
For motor
4.2 - 8.5 VDC.
Maximum
0.46A
For cutter motor 5-9 VDC,Maximum 1A
For logic 2.7 - 5.25 VDC, Maximum 0.01A
For module 5V-8.5VDC, Maximum 5A Rated voltage:7V.
Dimensions(W×D×H) Module
86.5W x 52.0 D x36.0 H mm (without control board)
Weight Module
0.25KG
Life
Head
100 million pulses or more(print ratio=12.5%)
50
km or more
Cutter
1,000,000
times
Environment
Operating Temp 0° C to 50° C
Operating Humidity 20 to 85% relative humidity
Storage Temp -25° C to 70° C
Storage Humidity
5 to 95%
relative humidity
Detection function
Head Temp
Via thermistor
Head temp detection
Head-up detection Via photo interrupter
Out-off paper detection Via photo interrupter
4. Control Board Introduction
It sends data to the control board via serial port or USB port. And control board drive printer head to
print.
4.1 Self-test print
Power on ,Press K1 key in the bottom board,the printer can print a self-test paper.
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bg5.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
4.2 LED indicator light
Power on ,Indicator will be on 2 times,Interval of 1 second,start normal,Then light is showed as
follows:
blink1 time:in working order (customed board :normal light)。
Blink2 time:mechanism
not connected or temperature is too low
Blink3 time:out of paper
Blink4 time:cutter error(for cutter include)
Blink5 time:mechanism is overheated
Blink6 time:shaft unset(for shaft included)
blink10 time:Flash on board error
5. Interface function
J2 POWER XH02/2.54
Pin NO Direction Type Introduction
VH 1 Input Voltage from5-9V
GND 2 GND
J3 TTL
Pin NO Direction Type Introduction
RTS/DTR 1 Output Flow Control
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bg6.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
Transmit data 2 Output TXD, printer output
Receive data 3 Input RXD, printer input
GND 4 GND
J4 RS232
Pin NO Direction Type Introduction
RTS/DTR 1 Output Flow Control
Transmit data 2 Output TXD, printer output
Receive data 3 Input RXD, printer input
GND 4 GND
CN1 USB connector
Pin NO Direction Type Introduction
VUSB 1
D- 2
D+ 3
NC 4
GND 5
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bg7.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bg8.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
7
、
commands
7.1 command list
LF print and paper feed
print and paper feed
commands
CR carriage return
ESC J print and paper feed n dots
ESC d print and paper feed n lines
ESC 3 n dot set line space n dots
print set commands
ESC 2 set default line space
ESC $ set absolute line position
GS L nL nH set left margin amount
ESC ! set character printing method
GS ! n set character size
GS B n set and delete white printing
ESC - n set and delete underline
ESC V n set and delete 90°rotate printing
ESC a set justification
FS & set Chinese character mode
FS . delete Chinese character mode
ESC % n choose and delete customized characters
ESC & define customized characters
ESC ? n delete customized character
ESC * bitmap vertical modulus data fillings bitmap print commands
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bg9.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
GS v 0 bitmap horizontal modulus data print
GS * define download bitmap
GS / m print download bitmap
FS q define NV bitmap
FS p n m print NV bitmap
HT horizontal tabulation
tabulation commands
ESC D set horizontal tabulation position
GS H set 1-D barcode readable character(HRI) print position
1-D barcode printing
commands
GS h set 1-D barcoe hight
GS w set 1-D barcode width
GS k 1-D barcode
GS ( 2-D barcode printing commands 2-D barcode printing
commands
GS r n transmission status
status commands
DLE EOT n real-time transmission status
ESC @ initialize printer
other commands
GS V choose paper cutting pattern and cut paper
ESC i full-cut
ESC m partial cut
7.2 Commands details
①Print and paper feed commands
Print and paper feed
Name print and paper feed
Code
ASCII :LF
DEC :10
HEX :0A
Function
Print the buffer contest,and set the paper feed as per line space,then adjust print
position to initial position at the next line
Parameter
range
No
Default No
Support types All
Notes No
Example No
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bga.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
CR
Name CR
Code
ASCII :CR
DEC :13
HEX :0D
Function Adjust print position to initial position of the same line.
Parameter
range
no
Default no
Support types All
Notes
After executing CR command,the new printing data will cover old data in the
printing buffer.
Example No
Print and paper feed dots
Name Print and paper feed n dots
Code
ASCII :ESC J n
DEC :27 74 n
HEX :1B 4A n
Function Print the buffer content and paper feed
Parameter
range
0 ≤ n ≤ 255
Default No
Support types All
Notes
Paper feed n dots when printing buffer is empty.
After executing this command,printing position is moved to initial position in
next line.
Example 1b 40 30 31 32 1b 4a 10
Print and paper feed n line
Name Print and paper feed n lines
Code
ASCII :ESC d n
DEC :27 100 n
HEX :1B 64 n
Function Print the contents in printing buffer and paper feed n lines.
Parameter
range
0 ≤ n ≤ 255
Default No
Support types All
Notes Print this command set as initial position of the same line
Example 1b 40 30 31 32 1b 64 01
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bgb.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
② Print set commands
Set line space as n dots
Name Set line space as n dots
Code
ASCII :ESC 3 n
DEC :27 51 n
HEX :1B 33 n
Function Set line space as n dots
Parameter
range
0 ≤ n ≤ 255
Default n = 33
Support types All
Notes
Line space as below:
If the setted line space is less than the highest character in that line,then this
line space is equal to the height of the highest character.
If ESC2,ESC@,reset the printer, the printer blankout,and the line space
turns to default.
example
1b 40
1b 33 30
30 31 32 0d 0a
30 31 32 0d 0a
1b 32
30 31 32 0d 0a
Set line space to default
Name Set line space to default
Code
ASCII :ESC 2
DEC :27 50
HEX :1B 32
Function Set line space to default 33 dots
Parameter
range
No
Default No
Support types All
Notes
Line space in details pls check ESC 3 command.
If the setted line space is less than the height character in the line,the line
space of this line is equal to the height of the highest character.
It can use ESC 3 to define line space.
![](/html/fd/fd23/fd2367a4fd1053b4a111f6a4aaddcdc052fad257c6d72d9f9f0262b5aa3dd00d/bgc.png)
KP628C Kiosk thermal printer control board user manual CASHINO TECH
Page of 38
Example No
Set print position
Name Set print position
Code
ASCII :GS L nL nH
DEC :29 76 nL nH
HEX :1D 4C nL nH
Function Set left side blank area as(nL + nH × 256)dots
Parameter range 0 ≤ nL ≤ 255,0 ≤ nH ≤ 255
Default No
Support types All
Notes
This command is only effective with the initial position of the line.
Pls check the photo as below:
It can use the max. printing unit if it is set beyond the printing area.
Example
1b 40 1d 4c 08 00
30 31 32 0d 0a
30 31 32 0d 0a
Set character printing method
Name Set character printing method
Code
ASCII :ESC ! n
DEC :27 33 n
HEX:1B 21 n
Function
Set character printing methods(font,highlight,inversion,bold,double hight,double
width and underline),parameter n bit definition as below:
Bit Function Value
0 1
0 Font Normal Small character
1 Highlight Cancel Setting
2 Inversion Cancel Setting
3 Bold Cancel Setting
4 Double hight Cancel Setting
5 Double width Cancel Setting
6 Underline Cancel Setting
7 Undefined
Parameter No