3/26 CSN-A2 Micro panel thermal printer Chapter Chapter Chapter1 1 1 1 Introduction Introduction Introduction Chapter Introduction Features Features Features Features � Low-noise direct thermal printing method � Printer control panel built-in ANK character or GB18030 Chinese character, thoroughly remove the uncommon words of anguish �...
5/26 CSN-A2 Micro panel thermal printer printer printer installation installation 2.3 printer printer installation installation Put the panel printer into the front of the device as per Fig.1 and Fig.2,and then install fixed block and screwing as per Fig.3 Note: have 1 to 6mm variation in thickness.
Page 6
6/26 CSN-A2 Micro panel thermal printer The define of the Pin of LPT interface as below : GND, Ground input voltage ,5V-9V VH, +5V, input voltage (general condition,only use +5Vm VH not input ) the define of the Pin of LPT interface as below : STROBE 2-9.
7/26 CSN-A2 Micro panel thermal printer Chapter Chapter Chapter3 3 3 3 Operation Operation Operation specifications specifications print print test test Chapter Operation specifications specifications and and print print test test Operation Operation specifications specifications 3.1 Operation Operation specifications specifications A....
Page 8
8/26 CSN-A2 Micro panel thermal printer Chapter4 Chapter4 Using Using attention attention Chapter4 Chapter4 Using Using attention attention 4.1 Please notice, the ESD wrist ring and the humidity manufactures ETC, when using the printer,to protect the inner electronic parts of the printer from the damage of ESD,because the TPH of the Printer and photoelectric sensor are ESD Sensitive parts.
9/26 CSN-A2 Micro panel thermal printer Chapter5 Chapter5 ESC/POS ESC/POS PRINTING PRINTING COMMAND COMMAND Chapter5 Chapter5 ESC/POS ESC/POS PRINTING PRINTING COMMAND COMMAND SET 5.1 Set Set of of of of Command Command Command Command Type Command Name Print and line feed...
10/26 CSN-A2 Micro panel thermal printer Select printing position of human readable characters GS H Set bar code height GS h Code Set bar code left position GS x n Command Set bar code width GS w GS k Print bar code ESC 7 n1 n2 Set printing para.
Page 11
11/26 CSN-A2 Micro panel thermal printer Description: Print the data in the buffer. Locate to the black mark. NOTE: Only board with black mark function support this command. ESC J J J J n n n n Print and feed paper...
Page 12
12/26 CSN-A2 Micro panel thermal printer Hexadecimal: 1B 32 Description: ESC 2 sets the line space to default value (32dots) ESC 3 3 3 3 n n n n Set line spacing Format: ASCII: ESC 3 n Decimal: 27 51 n...
Page 13
13/26 CSN-A2 Micro panel thermal printer 5. 5. 5. 5.2.3 Char Chara a a a cter cter Setting Commands 2.3 Char Char cter cter Setting Setting Setting Commands Commands Commands ESC ! ! ! ! n n n n Select print mode...
Page 14
14/26 CSN-A2 Micro panel thermal printer Hexadecimal: 1B 20 n Description: D0: 0: normal 1: bold ESC SO Select Double Width mode Format: ASCII: ESC SO Decimal: 27 14 Hexadecimal: 1B 0E Description: Select Double Width mode To turn double width off, use LF or DC4 command.
Page 15
15/26 CSN-A2 Micro panel thermal printer Description: n=1:Enable User-defined character n=0:Disable User-defined character ESC & & & & s s s s n n n n m m m m w w w w Define User-defined characters Format: ASCII: ESC & s n m w d1 d2 … dx Decimal: 27 38 s n m w d1 d2 …...
Page 16
16/26 CSN-A2 Micro panel thermal printer 4:Denmark 1 9:Norway ESC t t t t n n n n Select character code table Format: ASCII: ESC t n Decimal: 27 116 n Hexadecimal: 1B 74 n Description: Select a page n from the character code table as follows: 0:437 1:850 5.
Page 17
17/26 CSN-A2 Micro panel thermal printer 6. Host Sends FS S command 0x1C, 0x53 If both are matched (that means data received correctly) Send ACK( 0xDD, 0x55, 0x1A) Print the image data Else Send NAK( 0xDD, 0x55, 0x3E) Do not print the image data...
Page 18
18/26 CSN-A2 Micro panel thermal printer Description: p: bitmap format. 1: bitmap need double width 0: bitmap don’t need double width 1: bitmap need double height 0: bitmap don’t need double height W=wL+wH*256 mean horital bytes H=wL+wH*256 mean vertical dots.
21/26 CSN-A2 Micro panel thermal printer 5.2. 5.2.8 8 8 8 Bar Code Command 5.2. 5.2. Bar Code Code Code Command Command Command GS H H H H n n n n Select printing position of human readable characters Format:...
22/26 CSN-A2 Micro panel thermal printer Hexadecimal: 1D 6B m d1 d2 … dk 00 Format2: ASCII: GS k m n d1 d2 … dn Decimal: 29 107 m n d1 d2 … dn Hexadecimal: 1D 6B m n d1 d2 … dn...
Page 23
23/26 CSN-A2 Micro panel thermal printer Description: Setting the time for control board to enter sleep mode. n1 = 0-255 The time waiting for sleep after printing finished,Unit(Second),Default:0(don’t sleep) When control board is in sleep mode, host must send one byte(0xff) to wake up control board.
Page 24
24/26 CSN-A2 Micro panel thermal printer FS C C C C Start Checksum Format: ASCII: FS C Decimal: 28 67 Hexadecimal: 1C 43 Description: Start Checksum for ESC * command FS S S S S Check if ESC * command received correct...
25/26 CSN-A2 Micro panel thermal printer APPENDIXA APPENDIXA CODE CODE PAGE PAGE APPENDIXA APPENDIXA CODE CODE PAGE PAGE PC437 PC437 PC437 PC437 _A _B _B _C _C _D Ç ü é â ä à å ç ê ë è ï...
Page 26
26/26 CSN-A2 Micro panel thermal printer APPENDIXB APPENDIXB International International characters characters APPENDIXB APPENDIXB International International characters characters ASCII Code(Hex) County U.S.A. France à ◦ ç § é ù è ¨ Germany § Ä Ö Ü ä ö ü ß...