background image

CSN-A1 user manual

1

CSN-A1X Micro panel printer

User Manual

Protocol: Lin Xiaopeng 2017.04.06

Audit

: Hu Riyu 2017.04.08

Standardize

Liu Zhonghua 2017.04.09

Authorize: Wang Huanyong 2017.04.11

Содержание CSN-A1X

Страница 1: ...CSN A1 user manual 1 CSN A1X Micro panel printer User Manual Protocol Lin Xiaopeng 2017 04 06 Audit Hu Riyu 2017 04 08 Standardize Liu Zhonghua 2017 04 09 Authorize Wang Huanyong 2017 04 11...

Страница 2: ...notice Please contact Xiamen Cashino Technology Co Ltd directly for the latest version revision record Item Date Description Edited page Desing Review 1 20170406 The first draft Lin Xiaopeng Hu Riyu...

Страница 3: ...efault 15 Set character print font 16 Set character printing method 16 Set character size 17 Set remove white printing 17 Set remove underline 18 Set remove bold print 19 Set remove overlapping 19 Set...

Страница 4: ...HRI font type selection 43 bar code height setting 43 bar code width setting 44 bar code printing 44 Printing QR code 49 Mode type of QR code 49 Setting error correction level of QR code 50 Store QR...

Страница 5: ...CSN A1 user manual 5 Other commands 68 Printer reset 68 Print self test page 69...

Страница 6: ...ing equipment Safety equipment on board printing equipment ID automation equipment catering and retail EFTs POS machines tax control printers gas stations 2 Features Smart appearance Button control pa...

Страница 7: ...CSN A1 user manual 7 Suggested installation port size 73 0 1X73 45 0 1MM 4 Specifications Printing Printing Method Thermal line printing Printing speed Max 90mm s Resolution 203dpi 8 dots mm...

Страница 8: ...ad temperature detection Via thermistor Paper end detection Photoelectric detection Baud rate 9600bps 115200bps Interface RS232 TTL USB Printer head reliability 100Km or 1 million pulsed Power supply...

Страница 9: ...indicator light on the control board will be on and off twice with an interval of 1 second indicating that the start is normal Afterwards the indicator light is shown as below Flash 1 working normally...

Страница 10: ...ESC R n International character sets ESC t n Select the character code page ESC D Set horizontal tabulation position ESC J Print and paper feed n dots ESC p Produce cashdrawer pulse ESC c 5 n Allow o...

Страница 11: ...dth GS k 1 D barcode GS L nL nH Set left margin amount GS a n Allow or prohibit to upload the status automatically GS r n Transmission status GS v Transfer printer status to host GS v 0 Bitmap horizon...

Страница 12: ...V Print MSB bitmap DC2 v Print LSB bitmap LF Line feed CR Enter FF Forms feed HT Horizontal tab SO Paper feed to initial position at the next label 7 2 Commands details Printing and paper feed command...

Страница 13: ...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 posit...

Страница 14: ...None Character right space setting Name Character right space setting Code ASCII ESC SP n DEC 27 32 n HEX 1B 20 n Function Character right space setting as n 0 125mm Range 0 n 255 Default n 0 Notes Wh...

Страница 15: ...vertical movement units Code ASCII GS P x y DEC 29 80 x y HEX 1D 50 x y Function Horizontal movement unit 25 4 x mm 1 x inch Vertica movement unit l25 4 y mm 1 y inch When set X 0 Y 0 X and Y will di...

Страница 16: ...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 widt...

Страница 17: ...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...

Страница 18: ...bidden 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 ASCI...

Страница 19: ...emove bold print When LSB of n is 0 remove bold print mode When MSB of n is 1 set bold print mode Range 0 n 255 Default n 0 Notes Only allow to use when LSB of n Example None Set remove overlapping Na...

Страница 20: ...ge 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...

Страница 21: ...le area Example 1b 40 1d 4c 08 00 30 31 32 0d 0a 30 31 32 0d 0a Set relative printing position Name Set relative printing position Code ASCII ESC nL nH DEC 27 92 nL nH HEX 1B 5c nL nH Function Based o...

Страница 22: ...31 32 0D 0A 1B 40 1B 61 01 30 31 32 0D 0A 1B 40 1B 61 00 30 31 32 0D 0A Select cancel user customized characters Name Select cancel user customized characters Code ASCII ESC n DEC 27 37 n HEX 1B 25 n...

Страница 23: ...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...

Страница 24: ...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...

Страница 25: ...ame Set remove quadruple angle of Chinese print Code ASCII FS W n DEC 28 87 n HEX 1C 57 n Function Set or remove quadruple angle of Chinese print When LSB of n is 0 Remove quadruple angle of character...

Страница 26: ...parately in standard mode In standard mode use horizontal motion units Example None Set up the Chinese characters to print mode combination Name Set up the Chinese characters to print mode combination...

Страница 27: ...ode 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...

Страница 28: ...se character the underline printing will not be performed but the previously specified underline width remains unchanged The default underline width is 1 dot t The specified slip line width remains th...

Страница 29: ...DEC 27 116 n HEX 1B 74 n Function Selects n from character code N Code Page 0 CP437 U S A Standard Europe 1 KataKana 2 CP850 Multilingual 3 CP860 Portuguese 4 CP863 Canadian French 5 CP865 Nordic 6 W...

Страница 30: ...254 BIG5 255 GBK Range 0 n 255 Default 0 Notes None Example 1B 40 1C 2E 1B 74 00 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8...

Страница 31: ...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 Notes d k corresponding bit is 1 which means that this bit...

Страница 32: ...FF FF FF FF FF FF FF FF FF FF 1B 33 00 0A Print Graphics horizontal module data Name Print Graphics horizontal module data Code ASCII GS v 0 DEC 29 118 48 m xL xH yL yH d k HEX 1D 76 30 m xL xH yL yH...

Страница 33: ...ta and the printing effect is as below This command has the printing function data will be transferred while printing no need to use the printing command again Example 1B 40 1d 76 30 00 03 00 09 00 FF...

Страница 34: ...ata Example 1B 40 1D 2A 03 03 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF...

Страница 35: ...the printing area then the excess data will not be printed Example No Define NV bitmap Name Define NV bitmap Code ASCII FS q n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n DEC 28 113 n xL xH yL yH d1 dk 1...

Страница 36: ...ng the execution of this command NV bitmap is a bitmap defined in non volatile memory Define FS p printing with FS q In standard mode this command is valid only when processed at the beginning of the...

Страница 37: ...tes This command can define several NV bitmaps but cannot define bitmap data whose total capacity bitmap data header exceeds 192K bytes The printer does not transmit ASB status or perform status detec...

Страница 38: ...F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF...

Страница 39: ...no data in the print buffer This command is not affected by print modes Bold printing overlapping underline character size white black reverse printing or 90 rotated characters etc except upside down...

Страница 40: ...ne Support All Notes None Example None Print MSB bitmap Name Print MSB bitmap Code ASCII DC2 V nL nH d1 dn DEC 18 86 nL nH d1 dn HEX 12 56 nL nH d1 dn Function The width of the bitmap must be the same...

Страница 41: ...itmap Height nL nH 256 Bitmap format Parameter range None Default None Support All Notes None Example None Tab Commands Horizontal tab Name Horizontal tab Code ASCII HT DEC 9 HEX 09 FUNCTION Move the...

Страница 42: ...lt positioning position is the 8 character interval Column 9 17 25 of the font A 12 24 Support model All Notes Tab position as below Maximum support for the setting of 16 tab position Using this comma...

Страница 43: ...bar code Parameter range 0 n 3 or 48 n 51 Defaults n 0 Notes The command setting will be valid after ESC printer reset power off Example None bar code readable character HRI font type selection Name b...

Страница 44: ...power off Example None bar code width setting Name bar code width setting Code ASCII GS w n DEC 29 119 n HEX 1D 77 n Function Parameter n specifies the unit of a bar code in dots Parameter range 1 n 6...

Страница 45: ...and A m Coding system Bar code length SP show space Data lengt h k Character set Data d 0 UPC A fixed k 11 12 0 9 48 d 57 1 UPC E fixed 6 k 8 k 11 12 0 9 48 d 57 when k 7 8 11 12 d1 48 2 JAN13 EAN13 f...

Страница 46: ...65 d 90 d 32 36 37 42 43 45 46 47 70 ITF Interlea ved 2 of 5 cha nge able 2 n 255 even numbers 0 9 48 d 57 71 CODAB AR NW 7 cha nge able 1 n 0 9 A D a d 48 d 57 65 d 68 97 d 100 d 36 43 45 46 47 58 65...

Страница 47: ...pay attention for the following points Whatever the input data length is 11 or 12 the check bit is automatically inserted or corrected Initial character central split character and terminator are ins...

Страница 48: ...please pay attention as following Initial character and terminator could not inserted automatically but manual addition by user that the range from A D or a d Check bit could not calculate and add aut...

Страница 49: ...8 019501234567890 01 is AI the following will be wrong GS k 74 18 01 9501234567890 When user use the connection structure need to insert FNC1 C1H Decimal 193 in the middle The input example as followi...

Страница 50: ...code Name Setting error correction level of QR code Code ASCII GS k pL pH cn fn n DEC 29 40 107 pL pH cn fn n HEX 1D 28 6b pL pH cn fn n Function Setting error correction level of QR code Parameter ra...

Страница 51: ...a graphic data after the m d1 dk Example None Name Store QR code data to data buffer Printing QR code Name Printing QR code Code ASCII GS k pL pH cn fn m DEC 29 40 107 pL pH cn fn m HEX 1D 28 6b pL p...

Страница 52: ...decimal 31H Decimal 49 Data is not printed Transmit data Hexadecim al Decimal Data type Header 37H 55 1byte Flag 36H 54 1byte Width 30H 39H 48 57 1 5byte Separator 1FH 31 1byte Height 30H 39H 48 57 1...

Страница 53: ...II ESC Z m n k dL dH d1 dn DEC 27 90 m n k dL dH d1 dn HEX 1B 5A m n k dL dH d1 dn Function PDF417 bar code type 0 m specify the number of columns of two dimensional code 1 m 30 When the bar code imag...

Страница 54: ...ng two dimensional code Printing double QR code Name Printing double QR code Code ASCII US Q m n p1H p1L l1H l1L ecc1 v1 d1 dn p2H p2L 12H l2L ecc2 v2 dk dm DEC 27 81 m n p1H p1L l1H l1L ecc1 v1 d1 dn...

Страница 55: ...0 C0 00 0a 02 00 39 38 37 36 35 34 33 32 31 30 Status querying Commands Transmission status Name Transmission status Code ASCII GS r n DEC 29 114 n HEX 1D 72 n Function Transmits the status specified...

Страница 56: ...nd Therefore bits 2 and 3 do not transmit the status of paper end Bit Off On Hex Decima l Status for ASB 0 1 Undefined 2 3 Off 00 0 Paperend sensor paper adequate On 0C 12 Paperend sensor paper near e...

Страница 57: ...0 0 Double byte character code is not supported on 01 1 Double byte character code can be supported 1 on 02 2 Automatic paper cutter has been installed 2 3 unused 4 off 00 0 fixed 5 retain 6 unused 7...

Страница 58: ...1B 75 Function Transit the status of peripherals to host only works in serial printer Senddefinition of bytes byte 0 drawer kick 0 close electrical level 1 byte 4 constant to be0 Default None Notes N...

Страница 59: ...e transmission status Name Real time transmission status Code ASCII DLE EOT n DEC 16 4 n HEX 10 04 n Function According to below parameters transit the real time status of printer n stands for printer...

Страница 60: ...the command The command only effective for serial printer Printer start to work immediately after receiving this command at any situation n 1 printer status Bit 0 1 Hexadecim al decimalis m Function...

Страница 61: ...1 2 Undefined 3 0 00 0 No cutter error 1 08 8 Cutter error 4 1 10 16 Fixed to be 1 5 0 00 0 No unrecoverable error 1 20 32 Unrecoverableerroe 6 0 00 00 Printer head tempand voltage are normal 1 40 64...

Страница 62: ...ixed to be 0 Example 10 04 01 10 04 02 10 04 03 10 04 04 Real time request Name Real time request Code ASCII DLE ENQ n DEC 16 5 n HEX 10 05 n Function The printer responds to the request n of the host...

Страница 63: ...ntain this command Example None Real time pulse Name Real time pulse Code ASCII DLE DC4 fn m t DEC 16 20 fn m t HEX 10 14 fn m t Function T stands for the real time output pulse and m is the connectio...

Страница 64: ...starting point for the line Example None Data print in page print mode Name Data print in page print mode Code ASCII ESC FF Decimal 27 12 Hex 1B 0C Function Performs the batch printing of data develo...

Страница 65: ...starting point for the line The print locale set by ESC W is initialized Example None Character development angle select in page print mode Name Character development angle select in page print mode C...

Страница 66: ...yH Function X0 y0 dx dy define respectively Horizontal start point Vertical start point Horizontal length Vertical length Each parameter sets the following functions X0 xL xH 256 0 125mm y0 yL yH 256...

Страница 67: ...vertical start position and print area height If the horizontal start point is X the vertical start point is Y the horizontal length is dX and the vertical length is dY then the printable area is as...

Страница 68: ...0 nL 255 0 nH 255 Default value None Notes When the specified n is a downward motion nL nH 256 N When you specify N as the upward motion negative direction use the 65536 complement When the specified...

Страница 69: ...e None Print self test page Name Print self test page Code ASCII DC2 T Decimal 18 84 Hex 12 54 Function Printing a self test page which including firmware version interface codepage and other some inf...

Отзывы: