Page 1
CSN-58III user manual CSN-58III Thermal Receipt printer Protocol: Lin Xiaopeng 2017.04.06 Audit : Hu Riyu 2017.04.08 Standardize:Liu Zhonghua 2017.04.09...
Page 2
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. revision record Edited...
CSN-58III user manual Contents 1. Features............................7 2. General Specifications........................ 7 3. Basic Usage..........................8 3.1 Paper Roll Installation....................... 8 3.2 Printer Connection......................9 3.3 Name and Function of Key&Indicator................9 3.4 Self-test Page Printing...................... 9 4. Printer Cleaning......................... 10 5.Command Introduction......................11 5.1 Command List........................
Page 5
CSN-58III user manual Select character code....................29 ③Graphic printing command..................30 Graphics vertical module data fill................30 Print raster bit image..................... 32 Define downloaded bit image..................33 Print downloaded bit image..................34 Define NV bit image.......................35 Print NV bit image......................38 ④Tab Commands......................39 Horizontal tab........................39...
Page 6
CSN-58III user manual PREFACE It is very honor to cooperate with you. Before using the printer, please read this user manual carefully, in order to properly use and better show the characteristics of this printer. CAUTIONS 1. The printer should be installed in stable place to avoid vibration and impact.
CSN-58III user manual 1. Features 1.Smart appearance 2. Easy to maintain 3. Interface:Serial/USB 4. Support cash drawer driver 5. Character size,pitch is adjustable 6. Support bitmap printing,picture download printing 7. Low power consumption 8. Compatible with ESC/POS command 9. Support multi-languages 2.
CSN-58III user manual Store environment Temperature: -10℃—60℃;Relative humidity:10%—90% requirements 3. Basic Usage 3.1 Paper Roll Installation Using 58mm thermal paper roll,easy to load paper. Thermal paper load as below shows: 1.Open printer upper cover 2.Put paper into cabinet as picture 2 shows.
CSN-58III user manual 3.2 Printer Connection A.Connect the adapter cable to the printer power connector; B.Connect the interface cable to the connector on the rear panel of the printer; C.Connect the cash drawer’s RJ11 phone jack to the connector on the rear panel of printer.
CSN-58III user manual 4. Printer Cleaning When there is one of the following conditions occurs, printer head should be cleaned: 1. Print is not clear; 2. The vertical column of printing page is not clear; 3. Noisy when start to print.
CSN-58III user manual 5.Command Introduction 5.1 Command List print and paper feed carriage return print and paper feed commands ESC J print and paper feed n dots print and paper feed n lines ESC d ESC $ nL nH set absolute line position...
CSN-58III user manual range Default Notes Example Name carriage return ASCII :CR Code :13 :0D Function Adjust print position to initial position of the same line. Parameter range Default After executing, R command, the new printing data will cover old data...
CSN-58III user manual range Default 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 absolute line position Name Set absolute line position ASCII :ESC $ nL nH Code :27 36 nL nH...
CSN-58III user manual ASCII :ESC 3 n Code DEC :27 51 n HEX :1B 33 n Function Set line space as n dots Parameter 0 ≤ n ≤ 255 range Default n = 33 Line space as below: If the setted line space is less than the highest character in that Notes line,then this line space is equal to the height of the highest character.
CSN-58III user manual Set the character print mode Name Set the character print mode ASCII :ESC ! n Code :27 33 n :1B 21 n character printing methods(font,highlight,inversion,bold,double hight,double width and underline),parameter n bit definition as below: Bit Function Value...
CSN-58III user manual Chart 1 Chart 2 Character width setting Character height setting width width 1(Normal) 1(Normal) 2(Double 2(Double width) width) Parameter range Default n = 0 This command is effective with Chinese and other foreign languages, Notes except for HRI character.
CSN-58III user manual 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. white printing mode prior underline mode. When white printing mode, even underline mode is open, which can also be forbidden.(But it not be canceled).
CSN-58III user manual Set and delete bold print Name Set and delete bold print ASCII :ESC E n Code :27 69 n :1B 45 n set and remove bold print Function When n the least significant bit is 0, delete bold print mode...
CSN-58III user manual Set and delete clockwise 90°revolving printing Name Set and delete clockwise 90°revolving printing ASCII :ESC V n Code :27 86 n :1B 56 n Set or delete 90° revolving printing. Function When n is equal to 0 or 48,delete 90°revolving printing. When n is equal to 1 or 49,set 90°revolving printing.
CSN-58III user manual :1D 4C nL nH Function Set the left margin is(nL + nH × 256)dots Parameter 0 ≤ nL ≤ 255,0 ≤ nH ≤ 255 range Default Support This command is only effective with the initial position of the line.
CSN-58III user manual Set justification Name Set justification(left,middle,right) ASCII :ESC a n Code :27 97 n :1B 61 n Set alignment to the whole line,n value is as below: mode Function 0, 48 left 1, 49 middle 2, 50 right Parameter 0 ≤...
Page 23
CSN-58III user manual :27 38 y c1 c2 [x1 d1 ... d(yx1)] ...[xk d1 ... d(yxk)] :1B 26 y c1 c2 [x1 d1...d(y x1)]...[xk d1...d(yxk)] Define user customize characters。 y assigns vertical direction bytes. Function c1 assigns initial character code,c2 assigns ending character code xk assigns horizontal direction dots.
CSN-58III user manual Function Cancel user-defined characters which Coding designated by n Parameter 32 ≤ n ≤ 126 range Default This command cancels the patterns defined for the character codes specified by n. After the user-defined characters are canceled, the corresponding patterns for the internal characters are printed.
CSN-58III user manual ASCII :FS S n1 n2 Code :28 83 n1 n2 :1C 53 n1 n2 Set the left and right Chinese characters spacing for n1 and n2 Function Left characters spacing is [n1*0.125mm],right characters spacing is [n2*0.125mm] Parameter 0 ≤...
CSN-58III user manual Default At the same time set up a wide mode and times in high mode under the condition of (including the right and left between characters); At the same time set up a wide mode and times in high mode under the condition of (including the right and left between characters);...
CSN-58III user manual Printer can print underline for all characters(including spacing in characters left side),but expect for setted blank by HT. Printer can not print underline for clockwise rotated 90 ° characters white printing characters. When n is setted as 0 or 48,delete underline mode.Other data is not...
Page 31
CSN-58III user manual HEX :1B 2A m Hl Hh [d]k Print vertical module graphic data,the meanings as below: m is bit map format: mode horizontal scale vertical scale 8dots single density ×2 ×3 8dots double density ×1 ×3 Function 32 24dots single density ×2 ×1 33 24dots double density ×1 ×1...
CSN-58III user manual printing. If you need to print big graphics,you can divide it into several pieces 8 (m = 0、1)or 24(m = 32、33)dots graphics to print. After filling graphic data,you can continue to fill other information to make graphic and other information to print simultaneously.
CSN-58III user manual 0 ≤ d ≤ 255 Default If x×y is out of the specified range, this command is disabled. The d indicates bit-image data. Data (d) specifies a bit printed as 1 and not printed as 0. The downloaded bit image definition is cleared when: ESC @ is executed.
CSN-58III user manual :29 47 m HEX :1D 2F m Prints a downloaded bit image using the mode specified by m. m selects a mode from the table below: Model 0, 48 Normal Function 1, 49 Double-widt 2, 50 Double-heig...
Page 36
CSN-58III user manual 0 ≤ d ≤ 255) k = (xL+xH*256)*(yL+yH*256)*8 Area = 64 k bytes of data Default Support Frequent write command executions may damage the NV memory. Therefore, it is recommended to write the NV memory 10 times or less a day.
Page 37
CSN-58III user manual Numbers rise in order from NV bit image 01H. Therefore, the first data group [xL xH yL yH d1...dk] is NV bit image 01H, and the last data group [xL xH yL yH d1...dk] is NV bit image n. The total agrees with the number of NV bit images specified by the command FS p.
CSN-58III user manual ASCII :FS p n m :28 112 n m Code HEX :1C 70 n m Prints NV bit image n using the mode specified by m. Mode 0, 48 Normal 1, 49 Double-widt Function 2, 50 Double-heig 3, 51 Quadruple 0 ≤...
CSN-58III user manual :9 HEX :09 Function Moves the print position to the next horizontal tab position. Parameter range Default This command is ignored unless the next horizontal tab position has been set. If the next horizontal tab position exceeds the printing area, the printer sets the printing position to [printing area width + 1].
CSN-58III user manual If the dk is less than or equal to dk - 1, means to the end, the remaining data as a common data processing TAB position switch can be made of HT when change the left margin, TAB position change at the same time when the ESC @, reset the printer, power outages, the setting command is out of effect.
CSN-58III user manual Default n = 64 Notes When ESC@,resetting printer,power off,the command will failure. Example Set One-dimension bar code width Name Set One-dimension bar code width ASCII :GS w n Code :29 119 n HEX :1D 77 n Setting bar code unit is n,the meaning of the parameters n as:...
Page 43
CSN-58III user manual Bar code data(SP show spacing ) Encode Data Character system lengt Data(d) UPC-A fixed k = 11,12 48≤d≤57 48≤d≤57 6≤k≤8, [when k = UPC-E fixed k = 11,12 7,8,11,12, d1 = 48 ] JAN13 fixed k = 12,13 48≤d≤57...
Page 44
CSN-58III user manual Bar code data(SP show spacing ) Encode Data Character system lengt Data(d) UPC-A fixed n = 11,12 48≤d≤57 48≤d≤57 6≤n≤8, [when n = UPC-E fixed n = 11,12 7,8,11,12, d1 = 48 ] JAN13 (EAN13 fixed n = 12,13 48≤d≤57...
Page 45
CSN-58III user manual chan CODE9 geabl 1≤n≤255 00H~7FH 0≤d≤127 chan 00H~7FH 0≤d≤127 CODE1 geabl 1≤n≤255 C1H~C4H(F d = 193, 194,195,196 chan 00H~7FH 0≤d≤127 UCC/E geabl 1≤n≤255 C1H~C4H(F d = 193, AN128 194,195,196 Parameter (A) 0 ≤ m ≤ 6 range (B) 65 ≤...
Page 46
CSN-58III user manual automatically insert or error correction Regardless of the input data length is 6, 7, 8, 11 or 12, barcode readable characters (HRI) show only 6, for the data does not include the system character (NSC) and the check code;...
Page 47
CSN-58III user manual Two check code automatic calculation and insert When set bar code readable characters (HRI) print, without any said start/end HRI characters When set (HRI) print bar code readable characters, control characters will be replaced with a space...
CSN-58III user manual When using connection structure, the middle need to insert FNC1 (C1H Decimal = 193). input example is as follows: GS 74 18 k "019501234567890 * 193" 029501234567890 * "" When setting (HRI) print, control characters will replace with a space, and remove FNC1 ~ FNC4.
CSN-58III user manual 48 ≤ n ≤ 51 Default n=48 Setting horizontal error correction of two-dimension bar code Function Reference: Recover representative (%) Horizontal error correction Notes horizontal error correction Horizontal error correction horizontal error correction Example Stored 2-D bar code data to data buffer...
CSN-58III user manual Fixed Value 1byte Separator 1byte Other 30H or 31H 48 or 49 1byte Information 1byte L and H data transmit graph:use dot for unit. Other information data transmit: “Hexadecimal=30H/Decimal=48” data not printing. “Hexadecimal=31H/Decimal=49”data not printing. This command do not print two-dimension bar code graph.
CSN-58III user manual 1b 40 Example 1D 6B 61 08 02 08 00 30 31 32 33 34 35 36 37 Printing two-dimension bar code Name Printing two-dimension bar code ASCII :ESC Z m n k dL dH d1…dn Code :27 90 m n k dL dH d1…dn...
CSN-58III user manual Paper roll end sensor: paper adequate. (0C) (12) Paper roll end sensor: paper near end. Not used. Fixed to Off. Undefined. Not used. Fixed to Off. Paper sensor status (n = 1, 49): When the paper end sensor detects a paper end, the printer goes offline and does not execute this command.
CSN-58III user manual :1B 75 Peripheral devices to the host state, only the type serial printer effectively. Send bytes in a definition Function byte 0:open cashbox(0)/close electrical level(1) byte 4:the constant is 0 Default Notes Example Allow, banning state upload automatically...
Page 57
CSN-58III user manual printer,n stands for printer situation: N=1:transmit printer situation N=2:transmit off-line situation N=3:transmit error situation N=4:transmit paper sensor situation Parameter 1 ≤ n ≤ 4 range Default Support •Printer return immediately after receiving the command associated state • this command try not to put in command list between 2 or more bite .
Page 58
CSN-58III user manual n=2:off-line situation bite Hexadecim decimalism Function 0 00 Fixed 0 1 02 Fixed 1 0 00 Turn off upper cover 1 04 Open upper cover 0 00 Not put feed key yet 1 08 Put feed key...
CSN-58III user manual Default Notes Example Printing self-test page Name Printing self-test page ASCII :DC2 T Code :18 84 HEX :12 54 Printer prints a test page, contains the printer on the program version, Function communication interface type, the code page and some other data.
Need help?
Do you have a question about the CSN-58III and is the answer not in the manual?
Questions and answers