Page 1
Authorize: 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. www.cashinotech.com...
Page 2
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual CSN-A5 micro panel printer product specifications revision record Edited Item Date Description Desing Review page 20180419 The first draft Hu Riyu Chunyan 20180523 Modify installation port size Hu Riyu Chunyan 20180726 Add two-dimensional code printing...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual 3. External 4. Product specification Printing Method Thermal Line Print Printing Speed Max:90mm/s Resolution 203dpi(8dots/mm) Effective Printing Width 48mm Character Set ASCII, GB2312-80(Chinese), BIG5, etc. Character Print Font ANK:9×17,12×24, GBK:24×24 Paper Type Thermal Paper Paper spec.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual 6. Interface and define POWER Introduction 5-9V OR 12V Ground Serial Introduction Transmit Data Receive Data Ground Data Terminal Ready USB_D- USB_D+ Cashbox Introduction Power supply Cashbox www.cashinotech.com...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual control Parallel Introduction strobe pulse D1~D8 output data acknowledgment character BUSY 18~26 Ground 7. LED reminder Power on ,and indicator light will flash two times ,one second apart. It shows power on.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Set and delete underline ESC - n ESC V n Set and delete 90°rotate printing ESC a Setting position alignment mode FS & Set Chinese character mode Delete Chinese character mode FS .
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Range None Default None Notes None Example None Enter Name Enter ASCII :CR Code DEC :13 HEX :0D Function Adjust print position to initial position of the same line. Range None Default...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Set line space as n dots Set line space as n dots Name ASCII :ESC 3 n Code :27 51 n :1B 33 n Function Set line space as n dots Range 0 ≤...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual HEX :1B 24 nL nH Function Set left side blank area as(nL + nH × 256)dots 0 ≤ nL ≤ 255 Range 0 ≤ nH ≤ 255 Default None Set left side blank area as[(nL+nH*256)]*0.125mm] This command is only effective with the initial position of the line.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual 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 The command is effective with Chinese and foreign languages.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Range None Default n = 0 This command is effective with Chinese and other foreign languages, Notes except for HRI character. The command setting is disable when ESC@, printer reset or power off.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual 0, 48 underline mode Remove 1, 49 Set underline mode(1dotcoarse) 2, 50 Set underline mode(2dotcoarse) Range 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Default n = 0 Printer can print underline for all characters(including the space to the right of the character), except for the space set by HT.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual ASCII:FS . DEC :28 46 Code 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 Select 、cancel user customized characters Name ASCII :ESC % n...
Page 19
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual 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.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual 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...
Page 22
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Selects n from character code Code Page CP437[U.S.A., Standard Europe] KataKana CP850 [Multilingual] CP860 [Portuguese] CP863 [Canadian-French] CP865 [Nordic] WCP1251 [Cyrillic] CP866 Cyrilliec #2 MIK [Cyrillic /Bulgarian] CP755 [East Europe,Latvian 2] Iran...
Page 24
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual 1≤Hl+Hh×256≤384 0≤d≤255 k=Hl+Hh×256(when m=0、1) k=(Hl +Hh×256) ×3(when m=32、33) XX80: m=0、1、32、33 1≤Hl+Hh×256≤576 0≤d≤255 k=Hl+Hh×256(when m=0、1) k=(Hl +Hh×256) ×3(when m=32、33) Default None [d]k corresponding bit is 1,which means that this bit can print. While it is 0,it means that this bit cannot print.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Print Graphics horizontal module data Name Print Graphics horizontal module data ASCII :GS v 0 Code :29 118 48 m xL xH yL yH [d]k :1D 76 30 m xL xH yL yH [d]k Print horizontal module graphic data, the parameters are as below: m as bitmap method:...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual This command has the printing function, data will be transferred while printing, no need to use the printing command again 1B 40 1d 76 30 00 03 00 09 00 Example FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Default None this command will be ignored if the bitmap data has not been defined. In standard mode, this command is effective only when there is no data in the buffer area.
Page 29
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual printing buffers and resets the printer to the mode that workable when power on. (hardware reset interface is not supported ) This command cancels all NV bitmaps that have already been defined by this command.
Page 30
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual data whose total capacity [bitmap data header] exceeds 192K bytes. The printer does not transmit ASB status or perform status detection during processing of this command even when ASB is specified. Once an NV bitmap is defined, it is not erased by performing ESC @, reset, and power off.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual normal and double-width modes, and (for the height n 2 of the NV bitmap) in double height and quadruple modes, regardless of the line space specified by ESC 2 or ESC 3.
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Maximum support for the setting of 16 tab position Using this command, the setting of previous tab position will be canceled k is for indication purpose, no transmission When transport [d]k, and come across NULL, should be considered over...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual ASCII :GS h n :29 104 n Code DEX :1D 68 n Parameter n specifies the height of a bar code in dots: Function Parameter 1 ≤ n ≤ 255 range Defaults...
Page 35
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Hex :1D 6B m n [d]k 1D bar code printing, the parameters meaning as below: m is encoding n is code data length, only for (command B),the difference between (A) and (B)is that the data (A) end with NULL, but (B) indicates the data...
Page 36
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Bar code length(SP show space) Coding system Character set Data(d) leng fixe UPC-A n = 11,12 48≤d≤57 48≤d≤57 fixe 6≤n≤8, [when n = UPC-E n = 11,12 7,8,11,12, d1 = 48 ]...
Page 37
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual range (B) 65 ≤ m ≤ 74 Defaults None If the bar code width exceed the printable area, the printer does not perform barcode printing Paper feed as needed when the command is carried out, that not affected...
Page 38
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual When d6 is 1~9,be sure d7,d8,d9,d10 are 0,and d11 is 5~9 Initial character, terminator automatically inserted When print EAN13(m = 2 or 67),Please pay attention as following: Whatever the input data length is 12 or 13,check bit is automatically...
Page 39
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual When barcode readable character(HRI) is set to print, the control character will be replaced with space When print CODE128(m = 73),please pay attention as following: The encoding system intelligently identifies data and implements...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Undefined. Paper end sensor: paper adequate. (0C) (12) Paper end sensor: paper near end. unused. fixed to be Off. Undefined. unused. fixed to be Off. Paper sensor status (n = 1, 49): Bits 2 and 3: When the paper end sensor detects the paper end, the printer goes offline and does not execute this command.
Page 42
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual •Printer return to the relative status immediately after receiving the command • this command try not to put in command list between 2 or more bite . Though printer being forbid by ESC=,this command still effective.
Page 43
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Open upper cover Not press feed key press feed key Fixed to be 1 Paper adequate Paper shortage No error Error Fixed to be 0 n=3:transmit error status bite 0 Hexadecim decimalis...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual recovered. n=4:paper sensor status bite Hexadecim decimalis Function Fixed to be 0 Fixed to be 1 2, 3 0 Paper Paper near-end Fixed to be 1 5, 6 0 Paper Paper end...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Default Notes Setting mode type of QR code to [n dot × n dot]. Example None Setting error correction level of QR code Name Setting error correction level of QR code ASCII :GS (...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Store two-dimensional code data (d1...dk) to data buffer. Notes ((pL + pH×256) - 3) bytes is processed as a graphic data after the m (d1... dk). Example None Printing QR code Name...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual Setting QR code graph information The detailed graph information is as follows: Transmit data Hexadecim Decimal Data type Header 1byte Flag 1byte Width 30H-39H 48-57 1-5byte Separator 1byte Height 30H-39H 48-57 1-5byte...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual nL nH: describes data length d1…dk: describes two dimensional code to be printed 0 ≤ v ≤ 17 Parameter 1 ≤ r ≤ 4 range k = nL + 256 * nH...
Xiamen Cashino Technology Co., Ltd. CSN-A5 user manual ⑧Other commands Printer reset Name Printer reset ASCII :ESC @ Code Decimal :27 64 Hex :1B 40 The ESC @ command initializes the printer as following: This command prints the data contained in the print buffer, and Function initializes various set up items.
Need help?
Do you have a question about the CSN-A5 and is the answer not in the manual?
Questions and answers