Cashino KP-628E User manual

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
1
KP628E KIOSK PRINTER
Product Specifications
Draft:Lin Xiaopeng 2017.04.06
Audit:Hu Riyu 2017.04.08
Standardize:Liu Zhonghua 2017.04.09
Approved:Wang Huanyong 2017.04.11
Company: Xiamen Cashino Technology Co., Ltd.
Tel: 0592-5517253 Fax: 0592-5231815
Address: 4/F,No.318,Tongji South Road, Jimei District,Xiamen,China.361021
The manual is subject to change without further notice. Please contact Xiamen Cashino
Technology Co., Ltd. directly for the latest version.

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
2
KP-628E product specifications revision record
Item
Date
Description
Edited
page
Desing
Review
1
20170406
The first draft
Lin
Xiaopeng
Hu Riyu
2
20180409
Printer parameters
6
Zhu
Chunyan
Hu Riyu
3
20180529
Add to remove cutter jam and
paper jam
11
Zhu
Chunyan
Hu Riyu
4
20180619
Modify power supply
specifications
6
Zhu
Chunyan
Hu Riyu
5
2018.6.27
Add naming rules
5
Zhu
Chunyan
Hu Riyu

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
3
Content
Content..................................................................................................................................................................... 3
1. Product overview and Features.......................................................................................................................5
................................................................................................................................................................................... 5
2. Naming rules.......................................................................................................................................................5
3. Dimension........................................................................................................................................................... 6
4. Specifications......................................................................................................................................................6
5. Connector pin specification.............................................................................................................................. 7
6. Basic usage.........................................................................................................................................................8
6.1 Print self-test page...................................................................................................................................9
6.2 LED reminder........................................................................................................................................... 9
6.3 Paper roll placed......................................................................................................................................9
6.4 Paper roll installation.............................................................................................................................10
................................................................................................................................................................................. 11
6.5 Remove cutter jam and paper jam......................................................................................................11
7. Command Instruction...................................................................................................................................... 11
7.1 Command List........................................................................................................................................ 11
7.2 Commands details.................................................................................................................................12
①Printing and paper feed commands.............................................................................................. 13
Printing and paper feed.......................................................................................................................13
Enter....................................................................................................................................................... 13
Print and paper feed n dots................................................................................................................ 13
Print and paper feed n line................................................................................................................. 14
②Printing set commands....................................................................................................................14
Set line space as n dots...................................................................................................................... 14
Set line space to default......................................................................................................................14
Set print position...................................................................................................................................15
Set the left margin................................................................................................................................ 15
Set character printing method............................................................................................................16
Set character size.................................................................................................................................17
Set、remove white printing................................................................................................................ 17
Set、remove underline........................................................................................................................18
Set、remove 90°revolving printing....................................................................................................19
Set printing alignment..........................................................................................................................19
Set Chinese mode................................................................................................................................20
Exit Chinese character mode............................................................................................................. 20
Select、cancel user customized characters................................................................................... 20
Define user customized characters...................................................................................................21
Cancel user customized characters..................................................................................................23
Selecting international character set.................................................................................................23
Select character code..........................................................................................................................24
③Graphic printing command............................................................................................................. 26

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
4
Fill Graphics vertical module data..................................................................................................... 26
Print Graphics horizontal module data............................................................................................. 27
Define downloaded bitmap................................................................................................................. 29
Print downloaded bitmap.................................................................................................................... 30
Define NV bitmap................................................................................................................................. 31
Print NV bitmap.....................................................................................................................................34
④Tab Commands.................................................................................................................................35
Horizontal tab........................................................................................................................................ 35
Horizontal tab position setting............................................................................................................35
⑤One-dimension bar code command..............................................................................................36
1D bar code readable character(HRI) print position setting......................................................... 36
1D bar code height setting..................................................................................................................36
1D bar code width setting................................................................................................................... 37
1D bar code printing............................................................................................................................ 37
⑥Status querying Commands........................................................................................................... 43
Real-time transmission status............................................................................................................43
⑦Two-dimensional bar code commands.........................................................................................46
⑧Printing double QR code................................................................................................................51
⑨Other commands..............................................................................................................................52
Printer reset...........................................................................................................................................52
Print self-test page............................................................................................................................... 52
Paper cut................................................................................................................................................52
Full cut....................................................................................................................................................53
Partial cut...............................................................................................................................................54

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
5
1. Product overview and Features
1.1 Product overview
KP628E is 2inch kiosk thermal printer which is consist of thermal printer head ,cutter and control board
1.2 Product feature
1. Different paper feed direction 90 degree and 180 degree
2. Auto paper loading, no paper detection function
3. For self-service ticket machines and other self-service terminal equipment products
4. Support partial cut and full cut
5. Paper roll placement: support horizontal / vertical selection
2. Naming rules
KP-628E M RU A 08 H S
(1) (2) (3) (4) (5) (6) (7)
(1)
Model number
KP-628E
(2)
Default function
(Power)
L=5-9V
M=12V
H=24V

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
6
(3)
Default function
(Interface)
R=RS232
T=TTL
TU=TTL+USB
RU=RS232+USB
(4)
Default function
(Cutter)
A=Full & half cut
(5)
Default function
08=Ø80mm
0=without paper roll holder
(6)
Default function
(Paper roll holder)
H=Horizontal
V=Vertical
N=None
(7)
Optional function
(Paper near end
detection)
S=with detection
N=without detection
3. Dimension
4. Specifications

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
7
Print
print mode
Thermal line printing
Printing speed
Max:90mm/s
Resolution
203dpi(8dots/mm)
Effective printing width
48mm
Feed accuracy
0.0625mm
Character
Character set
ASCII,GBK,BIG5 etc.
Font
ANK:(9*17,12*24) Chinese:(24*24)
Paper spec
Paper Type
Thermal paper
Paper Width
57.5±0.5mm
Paper roll diameter/roll
core inner diameter
Max:80mm;Min:13mm
Head temperature detection
Thermistor
Paper out detection
Detected by photo interrupter
Buadrate
9600bps-115200bps
Interface
Serial(RS232/TTL),USB
Power (adapter)
DC5-9V ≥3A
(Suggest more than 7.4V)
DC12V,≥2A
Dimension(W*L*H)
100.5*80*67.95mm
Barcode
1D
UPC-A,UPC-E,EAN-13,EAN-8,CODE39,ITF2
5,
CODABAR
2D
QR Code
Reliability
Head
>50km,or 100 million pulses or more
Auto-cutter
>1,000,000 cuts
Auto cutter type
Full and partial cut
Environmen
tal
conditions
Operating
temperature
0°C~50°C
Operating
humidity
20%~85%
Storage temperature
-20°C~60°C
Storage humidity
5%~90%
5. Connector pin specification

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
8
Serial(RS232/TTL)PH04/2.0mm
Terminal
No.
Signal
Name
Description
1
GND
Ground
2
RXD
Receive data
3
TXD
Transmission data
4
DTR
Request to send
(Data
terminal ready)
Power XH02/2.54mm
Terminal
No.
Signal
Name
Description
1
VH
Power supply
2
GND
Ground
Mini USB
Terminal
No.
Signal
Name
Description
1
VUSB
+5v power supply
2
D-
Differential Data
Input/Output D-
3
D+
Differential Data
Input/Output D+
4
GND
Signal ground
6. Basic usage

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
9
6.1 Print self-test page
One way:Power off and press feed button, then power on and printer will print a self-test
page. It including baud rate, language and so on.
Another way:Power on then press feed button 3 seconds, printer will print a self-gets page
6.2 LED reminder
Power on, then green power light is on, red ERROR light is flash statues as following:
Flash 1 time:Working properly
Flash 2 times:Printer head is not connected or temperature is too low
Flash 3 times:No paper
Flash 4 times:Cutter error
Flash 5 times:Printer head overheating
Flash 6 times:Platen open
6.3 Paper roll placed
KP628E has two paper rolls placed:Horizontal / vertical selection, respectively, as shown:
Horizontal:

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
11
Figure 1
Noted:Figure 2 shows the wrong loading method
Print the paper backside, the print effect is blank.
Figure 2
6.5 Remove cutter jam and paper jam
How to remove cutter jam:
Firstly the printer cutter resume work , and then remove the paper jam, and finally clear
the paper path residual scraps.
How to remove cutter jam:
Reset the cutter by turning printer off and then on. If cutter is still jammed, turn the cutter
worm gear to make the cutter return to its normal position.
7. Command Instruction
7.1 Command List
LF
Line feed
Print, paper feed
Command
CR
Enter
ESC J n
Print and paper feed n dots
ESC d n
Print and paper feed n lines
ESC 3 n
Set line space as n dots
打印设置指令
ESC 2
Set default line space

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
12
ESC $
Set printing position
GS L nL nH
Set the amount of left margin
ESC !
Set character printing method
GS ! n
Set character printing method
GS B n
Set、remove white printing
ESC - n
Set、remove underline
ESC V n
Set remove 90°revolving printing
ESC a n
Setting position alignment mode
FS &
Set Chinese character mode
FS .
Cancel Chinese character mode
ESC % n
Select Cancel user customized
character
ESC & y c1
c2
Define user customized character
ESC ? n
Cancel user customized character
ESC R n
Select International character
ESC t n
Select the character code page
ESC * m Hl
Hh [d]k
Bitmap vertical modulus data fillings
Bitmap Command
GS v 0
Bitmap horizontal modulus data print
GS * x y
Define Downstream bitmap
GS / m
Print Downstream bitmap
FS q n
Define NV bitmap
FS p n m
Print NV bitmap
HT
Horizontal tab
Tab Command
ESC D [d]k
NUL
Set horizontal tabulation position
GS H n
Set 1-D barcode readable
character(HRI) print position
1-D barcode Command
GS h n
Set 1-D barcode height
GS w n
Set 1-D barcode width
GS k m
Print 1-D barcode
GS ( k
pL pH cn
fn m
Print QR CODE
2-D barcode Command
US Q m n
Print double QR CODE
GS r n
Transmission status
Status Inquire Command
DLE EOT n
Real-time transmission status
ESC @
Printer reset
Other Commands
DC2 T
Printing self-test page
7.2 Commands details

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
13
①Printing and paper feed commands
Printing 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.
Range
None
Default
None
Notes
None
Example
None
Enter
Name
Enter
Code
ASCII :CR
DEC :13
HEX :0D
Function
Adjust print position to initial position of the same line.
Range
None
Default
None
Notes
After executing, R command, the new printing data will cover old data in
the printing buffer.
Example
None
Print and paper feed n 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
Range
0 ≤ n ≤ 255
Default
None
Notes
Paper feed n dots when printing buffer is empty.
After executing this command, printing position is moved to initial
Example
1b 40 30 31 32 1b 4a 10

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
14
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.
Range
0 ≤ n ≤ 255
Default
None
Notes
Print this command set as initial position of the same line
Example
1b 40 30 31 32 1b 64 01
②Printing 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
Range
0 ≤ n ≤ 255
Default
n = 33
Notes
Line space as below:
If the line space setted 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 blackout, 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
30 31 32 0d 0a
Set line space to default
Name
Set line space to default

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
15
Code
ASCII :ESC 2
DEC:27 50
HEX :1B 32
Function
Set line space to default 30 dots
Range
None
Default
None
Notes
Line space in details pls check ESC 3 command.
If the line space setted 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.
Example
None
Set print position
Name
Set print position
Code
ASCII :ESC $ nL nH
DEC :27 36 nL nH
HEX :1B 24 nL nH
Function
Set left side blank area as(nL + nH × 256)dots
Range
0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
Default
None
Notes
Set left side blank area as[(nL+nH*256)]*0.125mm]
This command is only effective with the initial position of the line.
This command is unavailable if it sets beyond the printing area.
Example
None
Set the left margin
Name
Set the left margin
Code
ASCII :GS L nL nH
DEC :29 76 nL nH
HEX :1D 4C nL nH
Function
Set the left margin as(nL + nH × 256)dots
Range
0 ≤ nL ≤ 255,0 ≤ nH ≤ 255
Default
None
Support
Model
All
Notes
This command is only effective with the initial position of the line.
The illustration is as follows:

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
16
Use the maximum value of the printable unit, if the setting is beyond the
printable 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
height, double width and underline),parameter n bit definition as below:
Bit Function Value
0 1
0 Font Normal Small character
1 Undefined
2 Undefined
3Bold Cancel Setting
4 Double height Cancel Setting
5 Double width Cancel Setting
6 Undefined
7 Underline Cancel Setting
Range
None
Default
n = 0
Notes
The command is effective with Chinese and foreign languages.
The command is disabled when ESC@, printer reset or power off
Example
1B 40 1B 21 01 30 31 32 0D 0A
1B 40 1B 21 02 30 31 32 0D 0A
1B 40 1B 21 04 30 31 32 0D 0A
1B 40 1B 21 08 30 31 32 0D 0A
1B 40 1B 21 10 30 31 32 0D 0A
1B 40 1B 21 20 30 31 32 0D 0A
1B 40 1B 21 40 30 31 32 0D 0A
1B 40 1B 21 80 30 31 32 0D 0A

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
17
Set character size
Name
Set character size
Code
ASCII :GS ! n
DEC :29 33 n
HEX :1d 21 n
Function
Set character size as 1-8 times width,1-8 times height. Definition is as
below:
Use 0-3 set character height 4 - 7 bits set character width show as below:
Chart 1 Chart 2
Character width setting Character height setting
HEX
DEC
width
HEX
DEC
height
00
0
1(Normal)
00
0
1(Normal)
10
16
2(double width)
01
1
2(double height)
20
32
3
02
2
3
30
48
4
03
3
4
40
64
5
04
4
5
50
80
6
05
5
6
60
96
7
06
6
7
70
112
8
07
7
8
Range
None
Default
n = 0
Notes
This command is effective with Chinese and other foreign languages,
except for HRI character.
The command setting is disable when ESC@, printer reset or power off.
Example
1b 40 1d 21 11
30 31 32 0d 0a
30 31 32 0d 0a
Set、remove white printing
Name
Set、remove white printing
Code
ASCII :GS B n
DEC :29 66 n
HEX :1d 42 n
Function
Set and remove white printing
When the LSB of n is 0,white printing mode is off.
When the LSB of n is 1,white printing mode is on.
Range
None
Default
n = 0

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
18
Notes
It is only effective for LSB of n.
This command is all effective with built-in characters and user-defined
characters.
It is effective with blank, which is setted by ESC CP, when white printing
mode is on.
This command is not effective with bitmap, user-defined bitmap,
barcode, HRI character and vaulting space of HT,ESC $.
This command is not effective with line space.
The white printing mode is prior to underline mode. When it is white
printing mode, even underline mode is open, which can also be
forbidden.(But it not be canceled).
This command is disabled when ESC@, printer reset or power off.
Example
1b 40 1d 42 01
30 31 32 0d 0a
30 31 32 0d 0a
Set、remove underline
Name
Set、remove underline
Code
ASCII :ESC - n
DEC :27 45 n
HEX :1B 2D n
Function
Set/ remove underline mode, based on the value of n as follow:
n
Functions
0, 48
Remove underline mode
1, 49
Set underline mode(1dotcoarse)
2, 50
Set underline mode(2dotcoarse)
Range
0 ≤ n ≤ 2, 48 ≤ n ≤ 50
Default
n = 0
Notes
Printer can print underline for all characters(including the space to the
right of the character), except for the space set by HT.
Printer can not print underline for clockwise rotated 90 ° characters and
white printing characters.
When n is setted as 0 or 48,remove underline mode. Other data is not
printed as underline, and the setted underline coarseness does not
change before removing underline mode.The default underline
coarseness is 1 dot.
It is not effective with underline coarseness to change character size.
Using ESC! can also set and remove underline mode. However be aware
that the last received command must be effective.
Example
1b 40 1b 2d 01
30 31 32 0d 0a

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
19
1b 40 1b 2d 02
30 31 32 0d 0a
1b 40 1b 2d 00
30 31 32 0d 0a
Set、remove 90°revolving printing
Name
Set 、remove 90°revolving printing
Code
ASCII :ESC V n
DEC :27 86 n
HEX :1B 56 n
Function
Set or remove 90°revolving printing
When n is equal to 0 or 48,remove 90°revolving printing.
When n is equal to 1 or 49,set 90°revolving printing.
Range
0 ≤ n ≤ 1,48 ≤ n ≤ 49
Default
n = 0
Support
Model
All
Notes
When it is setted to underline mode, the printer is not underlined for
characters rotated 90°.
In the 90° rotation mode, the multiplier and double width commands
magnify the character in the opposite direction to the multiplier command
in the normal mode.
When ESC @, printer reset, power off, the setting of this instruction is
invalid.
Example
1b 40 1b 56 01
30 31 32 0d 0a
30 31 32 0d 0a
Set printing alignment
Name
Set print alignment(Left, middle, right)
Code
ASCII :ESC a n
DEC :27 97 n
HEX :1B 61 n
Function
Align all data in one line, the meaning of n value as below:
n mode
0, 48 left
1, 49 middle
2, 50 right
Range
0 ≤ n ≤ 2 or 48 ≤ n ≤ 50
Default
n = 0
Notes
This command setting is disabled when ESC@, printer resets or power

Xiamen Cashino Technology Co., Ltd. KP-628E User manual
www.cashinotech.com
20
off.
Example
1B 40 1B 61 02
30 31 32 0D 0A
1B 40 1B 61 01
30 31 32 0D 0A
1B 40 1B 61 00
30 31 32 0D 0A
Set Chinese mode
Name
Set Chinese mode
Code
ASCII :FS &
DEC :28 38
HEX:1C 26
Function
Set Chinese mode
Range
None
Default
None
Notes
When the Chinese character mode is selected, the printer processes all
Chinese character codes(ASCII code) , two bytes at a time.
The Chinese character code(ASCII code) is processed in the order of the
first byte and the second byte.
Example
1b 40 1C 26 B0 AE C9 CF D7 D4 BC BA 0d 0a
1C 2E B0 AE C9 CF D7 D4 BC BA 0d 0a
Exit Chinese character mode
Name
Exit Chinese character mode
Code
ASCII:FS .
DEC :28 46
HEX:1C 2E
Function
Exit Chinese character mode,cancel Chinese character mode
Range
None
Default
None
Notes
None
Example
None
Select、cancel user customized characters
Name
Select 、cancel user customized characters
Code
ASCII :ESC % n
DEC :27 37 n
HEX :1B 25 n
Function
Select 、cancel user customized characters
Table of contents
Other Cashino Printer manuals

Cashino
Cashino EP-260C-24V User manual

Cashino
Cashino CSN-A1X User manual

Cashino
Cashino PTP-II User manual

Cashino
Cashino CSN-A1K User manual

Cashino
Cashino KMP-II User manual

Cashino
Cashino KP-220 User manual

Cashino
Cashino CSN-A5 User manual

Cashino
Cashino POS80V User manual

Cashino
Cashino CSN-A3 User manual

Cashino
Cashino CSN-A2 Series User manual

Cashino
Cashino CSN-A4L User manual

Cashino
Cashino PDM-02 User manual

Cashino
Cashino CSN-80V User manual

Cashino
Cashino PTP-III User manual

Cashino
Cashino PDM-02 User manual

Cashino
Cashino PTP-III User manual

Cashino
Cashino EP-261B User manual

Cashino
Cashino CSN-A2L User manual

Cashino
Cashino CSN-58III User manual