Cashino CSN-A3 User manual

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
1
CSN-A3 Panel Printer’
User Manual
Protocol:Zhu ChunYan 2018.04.24
Audit:Hu Riyu 2018.04.25
Standardize: Liu Zhonghua 2018.04.26
Authorize:Wang Huanyong 2018.04.26
Tel: 0592-5517253 Fax: 0592-5231815
Company Name: Xiamen Cashino Technology Co., Ltd.
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
A3 User Manual
www.csntek.cn
3
Content
Content...................................................................................................................................................................... 3
1.General Specifications........................................................................................................................................... 5
2.Features.................................................................................................................................................................. 5
3.Product Specification............................................................................................................................................. 6
3.1 Outline Dimention...................................................................................................................................... 6
4.Printer Parameters.................................................................................................................................................. 6
5.Paper Installation....................................................................................................................................................7
6.PIN Defined Of Interfaces..................................................................................................................................... 8
7.Care and maintenance............................................................................................................................................ 8
7.1 Daily maintenance of printer...................................................................................................................... 9
7.2 Use and preservation of printing paper.......................................................................................................9
8.Command Introduction.......................................................................................................................................... 9
8.1Command List..............................................................................................................................................9
8.2Commands details......................................................................................................................................10
①Printing and paper feed commands.....................................................................................................10
Printing and paper feed........................................................................................................................... 10
Enter........................................................................................................................................................ 10
Print and paper feed n dots......................................................................................................................11
Print and paper feed n line...................................................................................................................... 11
②Printing set commands........................................................................................................................11
Set line space as n dots............................................................................................................................11
Set line space to default.......................................................................................................................... 12
Set absolute print position.......................................................................................................................12
Set the left margin...................................................................................................................................12
Set character printing method.................................................................................................................13
Set character size.....................................................................................................................................14
Set、remove white printing....................................................................................................................14
Set、remove underline........................................................................................................................... 15
Set、remove 90°revolving printing........................................................................................................16
Set printing alignment.............................................................................................................................16
Set Chinese mode....................................................................................................................................17
Cancel Chinese character mode..............................................................................................................17
Select、cancel user customized characters............................................................................................ 17
Define user customized characters......................................................................................................... 17
Cancel user customized characters......................................................................................................... 20
Selecting international character set....................................................................................................... 20
Select character code...............................................................................................................................21
③Graphic printing command................................................................................................................. 22
Fill Graphics vertical module data..........................................................................................................22
Print Graphics horizontal module data................................................................................................... 24
Define downloaded bitmap.....................................................................................................................25
Print downloaded bitmap........................................................................................................................26

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
4
Define NV bitmap...................................................................................................................................27
Print NV bitmap......................................................................................................................................29
④Tab Commands................................................................................................................................... 30
Horizontal tab..........................................................................................................................................30
Horizontal tab position setting................................................................................................................31
⑤One-dimension bar code command.................................................................................................... 32
1D bar code readable character(HRI) print position setting...................................................................32
1D bar code height setting...................................................................................................................... 32
1D bar code width setting....................................................................................................................... 32
1D bar code printing............................................................................................................................... 33
⑥Status querying Commands................................................................................................................ 38
Transmission status.................................................................................................................................38
Real-time transmission status................................................................................................................. 39
Real-time transmission status................................................................................................................. 39
⑦Two-dimensional bar code commands............................................................................................... 42
Mode type of QR code............................................................................................................................42
Setting error correction level of QR code...............................................................................................43
Store QR code data to QR code data buffer........................................................................................... 43
Printing QR bar code.............................................................................................................................. 44
Setting QR code graph information........................................................................................................44
Printing two dimensional code............................................................................................................... 45
Printing double QR code.........................................................................................................................46
⑧Other commands................................................................................................................................. 47
Printer reset............................................................................................................................................. 47
Print self-test page...................................................................................................................................47

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
5
1.General Specifications
Name:Micro Panel printer
Model:CSN-A3
Installation Port Size:71.3(W)*44.8(H)mm
Insert Depth:40.5/43.5mm
Application:Taxi meter print proposal, Recording Meter print proposal
Self-service Print proposal,Ticket Machine print proposal
Medical instrument print proposal,Weight Machine Print proposal
Electric Instrument Print proposal,Test Instrument Print proposal
2.Features
①Smart appearance
②Front panel make paper replacement easily
③Easy paper loading
④Low noise thermal printing
⑤Different interfaces optional
⑥Easily embedded to any kinds of instruments and meters

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
6
3.Product Specification
3.1 Outline Dimention
4.Printer Parameters
Print
Printing Method
Thermal Line
Printing Speed
Max:90mm/s
Resolution
203dpi(8dot/mm)
Effective Printing Width
48mm
Character
Character Set
ASCII,GB2312-80(Chinese)
Print font
ANK:(8*16,9*17,9*24,12*24)
Chinese:(16*16,24*24)
Paper Type
Thermal Paper

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
7
Paper spec.
Paper Width
57.5±0.5mm
Paper Roll Diameter
Max:23mm
Reliability
MCBF
>5 million lines
Interface
Serial (RS232,TTL)/USB
Insert Depth
40.5/43.5mm
Power Supply
DC 5V-9V ≥2A
12V ≥2A
Physical
Outline Dimention(W*L**H)
79*44*48mm
Installation Port Size
71.3*44.8mm
Color
Black/Beige
Environment
Operating Temp
0°C ~ 50°C
Operating Humidity
20% ~ 85%RH
Storage Temp
-20°C ~ 60°C
Storage Humidity
5% ~ 90%RH
5.Paper Installation
1.Open the printer cover;
2.Put in the paper roll, make sure the back side upward;
3.Close the printer cover, make the printing paper slightly exposed.
Note: Before installing the printing paper, please tear the gummed paper off the paper roll first, make sure
there is no residual foreign matter to protect the printer head.

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
8
6.PIN Defined Of Interfaces
(1)USB Communication
CAN-A3 thermal printer has USB interface which changed to USB2.0 through mini USB.
(2)Power
PIN Number
Signal Name
1.GND
5(Ground)
2.VCC
5-9V/12V
(3)Serial Interface
7.Care and maintenance
PIN Number
Direction
Introduction
1.VCC
Input 5V-9V/12V direct current
2.DTR
Data Termainal Ready
3.TXD
Output
Transmit Data
4.RXD
Input
Receive Data
5.GND
Ground

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
9
7.1 Daily maintenance of printer
1.Printer’s outside and paper warehouse cleaning :pls gently wipe the printer’s outside and paper
warehouse by wrung-out wet cloth .
2.Printer’s mechanism cleaning :please make sure to clean printer’s mechanism regularly, especially
when the printing quality dropped.Cleaning way:gently wipe the print head with the absorbent cotton dipped in
anhydrous alcohol until it is clean.
3.If the printer into the water, please turn it off immediately and dry the printer naturally.
7.2 Use and preservation of printing paper
1.Please don’t put the paper roll where the sun is shining or high temperature. Please don’t tear the
wrapping paper before using.
2.The printed documents should be kept in where room temperature (around 20℃)and without light ,
thus can effectively extend the preservation time.
3.If users want to keep the receipts for a long time, please select our company's thermal paper roll.
8.Command Introduction
8.1Command List
LF
Line feed
Printing and paper
feed commands
CR
Enter
ESC J
Print and paper feed n dots
ESC d
Print and paper feed n lines
ESC 3
Set line space n dots
Print setting commands
ESC 2
Set default line space
ESC $
Set print 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
Setting position alignment mode
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 R n
International character sets
ESC t n
Select the character code page
ESC *
Bitmap vertical modulus data fillings
Bitmap Commands
GS v 0
Bitmap horizontal modulus data print
GS *
Define download bitmap

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
10
GS / m
Print download bitmap
FS q
Define NV bitmap
FS p n m
Print NV bitmap
HT
Horizontal tab
Tab Commands
ESC D
Set horizontal tabulation position
GS H
Set 1-D barcode readable character(HRI)
print position
1-D Barcoe Print Commands
GS h
Set 1-D barcoe hight
GS w
Set 1-D barcode width
GS k
1-D barcode
GS (
2-D barcode print
2-D Barcoe Print Commands
GS r n
Transmission status
Status Checking Commands
DLE EOT n
Real-time transmission status
ESC @
Printer reset
Other commands
DC2 T
Printing self-test page
8.2Commands details
①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.

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
11
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
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.

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
12
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
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 absolute print position
Name
Set absolute 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

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
13
Support
Model
All
Notes
This command is only effective with the initial position of the line.
The illustration is as follows:
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
hight,double width and underline),parameter n bit definition as below:
Bit Function Value
0 1
0 Font Normal Small character
1 Undefined
2 Undefined
3 Bold Cancel Setting
4 Double hight 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

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
14
1B 40 1B 21 80 30 31 32 0D 0A
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
Notes
It is only effective for LSB of n.

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
15
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(1 dot coarse)
2, 50
Set underline mode(2 dot coarse)
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
1b 40 1b 2d 02
30 31 32 0d 0a
1b 40 1b 2d 00
30 31 32 0d 0a

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
16
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 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

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
17
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
Cancel Chinese character mode
Name
Cancel Chinese character mode
Code
ASCII :FS .
DEC :28 46
HEX :1C 2E
Function
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
When n LSB is 0,delete customized characters
When n LSB is 1,select customized characters
Range
0 ≤ n ≤ 255
Default
0
Notes
When cancel customized characters,automatically select the internal character
set.
Example
None
Define user customized characters
Name
Define user customized characters

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
18
Code
ASCII :ESC & y c1 c2 [x1 d1 ... d (yx1)] ... [xk d1 ... d(y x k)]
DEC :27 38 y c1 c2 [x1 d1 ... d(yx1)] ...[xk d1 ... d(yxk)]
HEX :1B 26 y c1 c2 [x1 d1...d(y x1)]...[xk d1...d(yxk)]
Function
Define user customized characters.
y specifies vertical direction bytes.
c1 specifies the starting character encoding,c2 specifies the ending character
encoding
xk specifies horizontal direction dots.
Range
The range of x 、y,are correspond with internal fonts.
If choosing Font 6*12,y = 2,0 ≤ x ≤ 6
If choosing Font 12*24,y= 3,0 ≤ x ≤ 12
32 ≤ c1 ≤ c2 ≤ 126
0 ≤ d1 ... d(y*xk) ≤255
Default
None
Notes
Definable character code range:from<20>H to <7E>H ASCII code(95
characters)。
It can define continuous characters encoding for several characters.When it need
one character only,make c1=c2.
d is character’s dot data,dot mode starts from left side in the horizontal
direction.It is blank for the rest dots in the right side.
Defined user defines characters data is (y*x) byte.
Set corresponding bit of printing dots as 1, or corresponding bit of no printing
dots as 0.
This command defines different customized characters for each type of font. Set
font with ESC !.
Customized characters and downlink bitmaps cannot be defined at the same
time. When the command is executed, the downlink bitmap is cleared.
User Customized characters will be cleared in these situations:
Execute ESC @。
Execute GS *。
Execute ESC ?。
Printer reset or power off
Graphic:
When set font A(12 24).

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
19
d1= <0F>H d4 = <30>H d7 = <40>H . . . .
d2 = <03>H d5 = <80>H d8 = <40>H . . . .
d3 = <00>H d6 =<00>H d9 = <20>H . . . .
Example
①y = 2
1B 40
1b 26 02 20 20 06 FF FF FF FF FF FF FF FF FF FF FF FF
1b 25 01
20 20 0D 0A
1b 3f 20
30 20 30 20 0d 0a
②y = 3
1B 40
1b 26 03 20 20 06 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF
1b 25 01
20 20 0D 0A

Xiamen Cashino Technology Co.,Ltd
A3 User Manual
www.csntek.cn
20
1b 3f 20
30 20 30 20 0d 0a
Cancel user customized characters
Name
Cancel user customized characters
Code
ASCII :ESC ? n
DEC :27 63 n
HEX :1B 3F n
Function
Cancel user customized characters of specified code by n
Range
32 ≤ n ≤ 126
Default
None
Notes
This command terminates the use of styles defined for character encoding, which
is specified by n. After the user customized character is canceled, it is printed in
the corresponding mode of the internal character.
In the font selected with ESC !, the command removes the style defined for the
specified encoding.
If a user customized character is not defined, the printer ignores the command.
Example
None
Selecting international character set
Name
Selecting international character set
Code
ASCII :ESC R n
DEC :27 82 n
HEX:1B 52 n
Function
Selecting international character set n from the following table:
n
Character
0
U.S.A
1
France
2
Germany
3
U.K
4
Denmark I
5
Sweden
6
Italy
7
Spain I
8
Japan
9
Norway
10
Denmark II
11
Spain II
12
Latin America
13
Korea
14
Slovenia
15
China
Range
0 ≤ n ≤ 15
Default
0
Table of contents
Other Cashino Printer manuals

Cashino
Cashino CSN-A1K User manual

Cashino
Cashino EP-261B User manual

Cashino
Cashino KMP-II User manual

Cashino
Cashino POS80V User manual

Cashino
Cashino CSN-A2L User manual

Cashino
Cashino KP-628E User manual

Cashino
Cashino PDM-02 User manual

Cashino
Cashino CSN-80V User manual

Cashino
Cashino EP-260C-24V User manual

Cashino
Cashino PDM-02 User manual

Cashino
Cashino CSN-58III User manual

Cashino
Cashino CSN-A4L User manual

Cashino
Cashino PTP-III User manual

Cashino
Cashino CSN-A2 Series User manual

Cashino
Cashino PTP-II User manual

Cashino
Cashino CSN-A5 User manual

Cashino
Cashino KP-220 User manual

Cashino
Cashino PTP-III User manual

Cashino
Cashino CSN-A1X User manual