background image

Xiamen Cashino Technology Co.,Ltd

A2L User Manual

42

bite 0

/
1

Hexadecim
al

decimalism Function

0

0 00

0

Fixed to be 0

1

1 02

2

Fixed to be 1

2

0 00

0

Turn off upper cover

1 04

4

Open upper cover

3

0 00

0

Not press feed key

1 08

8

press feed key

4

1 10

16

Fixed to be 1

5

0 00

0

Paper adequate

1 20

32

Paper shortage

6

0 00

00

No error

1 40

64

Error

7

0 00

0

Fixed to be 0

n=3

transmit error status

bite 0

/
1

Hexadecim
al

decimalis
m

Function

0

0 00

0

Fixed to be 0

1

1 02

2

Fixed to be 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

Printer head temp.and voltage
are exceed

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

Страница 1: ...t Hu Riyu 2017 04 08 standardization Liu Zhonghua 2017 04 09 Approved Wang Huanyong 2017 04 11 Tel 0592 5517253 Fax 0592 5231815 Supply Company Xiamen Cashino Technology Co Ltd Address 4 F No 318 Tong...

Страница 2: ...nt Change page number Prepared by Review 1 2017040 6 First draft Lin Xiaopeng Hu Riyu 2 2018041 6 Add settings cancel characters upside down 14 Zhu Chunyan Hu Riyu 3 2018041 6 Printer parameter 6 Zhu...

Страница 3: ...pace as n dots 11 Set line space to defaults 11 Set print position 12 Set left margin 12 Set character printing method 12 Set character size 13 Set remove white printing 14 Set remove underline 15 Set...

Страница 4: ...e height setting 33 1D bar code width setting 33 1D bar code printing 34 Status querying Commands 39 Transmission status 39 Real time transmission status 40 Printing QR code 43 Mode type of 2 D bar co...

Страница 5: ...3 W 57 3 H mm Insert Depth 50mm Application Medical equipment Measuring equipment Security equipment Analyzing Instrument Meter 2 Feature Elegant style Support for ESC POS print command Easy paper loa...

Страница 6: ...er Print Printing Method Thermal line Printing speed Max 90mm s Resolution 203dpo 8dot mm Effective printing width 48mm Character Character set ASCII GB2312 80 Chinese Print font ANK 8 16 9 17 9 24 12...

Страница 7: ...roll placement 1 Open the top cover of the printer 2 The paper roll is placed on the reverse side 3 Cover the top lid of the printer so that the paper is slightly exposed Note Before installing the p...

Страница 8: ...t not detected 8 Command instruction 8 1Command list LF Pint and feed Printing and feeding 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...

Страница 9: ...acter HRI print position 1 D print commands GS h Set 1 D barcode height GS w Set 1 D barcode width GS k Print 1 D barcode GS k Print QR code QR code print commands Print line segment Curve print comma...

Страница 10: ...ots 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 Defaults None Support Model All Notes Paper feed n dots when printing buffer is empty Afte...

Страница 11: ...racter If ESC2 ESC reset the printer the printer blackout and the line space turns to default 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...

Страница 12: ...area Example 1b 40 1b 24 08 00 30 31 32 0d 0a 30 31 32 0d 0a Set 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 do...

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

Страница 14: ...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 Defaults n 0 Support Model All Not...

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

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

Страница 17: ...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 Exit Chinese character mode Code ASCII FS DEC 28 46 HEX 1C 2E Function cancel...

Страница 18: ...nt 12 24 y 3 0 x 12 32 c1 c2 126 0 d1 d y xk 255 Defaults None Support Model All Notes Definable character code range from 20 H to 7E H ASCII code 95 characters It can define continuous characters enc...

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

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

Страница 21: ...73 74 75 76 78 79 7A 7B 7C 7D 7E 0D 0A Select character code Name Select character code Code ASCII ESC t n DEC 27 116 n HEX 1B 74 n Function Selects n from character code N Code Page 0 CP437 U S A St...

Страница 22: ...2 ISO 8859 8 Hebrew 43 ISO 8859 9 Turkish 44 ISO 8859 15 Latin 9 45 Thai2 46 CP856 47 Cp874 252 CP932 SHIFT_JIS 253 UNICODE UCS 2 254 BIG5 255 GBK Range 0 n 255 Defaults 0 Support Model All Notes None...

Страница 23: ...ots double density 1 1 Hl Hh is horizontal direction dots Hl 256 Hh d k is bit map data K used for indicating bit map data bytes not for transfer Range XX58 m 0 1 32 33 1 Hl Hh 256 384 0 d 255 k Hl Hh...

Страница 24: ...And can set line space as 0 to avoid feeding too much Dot matrix printer may drift when it starts pls send data continuously if occurs line broken Example 1B 40 1b 2a 00 0C 00 FF FF FF FF FF FF FF FF...

Страница 25: ...ter this command the printing coordinates will be reset to the left margin and the image content will be cleared the relationship between bitmap data and the printing effect is as below This command h...

Страница 26: ...be cleared when ESC is executed ESC is executed Printer is reset or the power is turned off The following figure shows the relationship between the downloaded bitmap and the printed data Example 1B 4...

Страница 27: ...dline character size or white black reverse printing except for upsidedown printing mode If the downloaded bitmap which will be printed exceeds the printing area then the excess data will not be print...

Страница 28: ...busy and stops receiving data when writing data to the user s NV memory Therefore data transmission including real time commands is prohibited during the execution of this command NV bitmap is a bitm...

Страница 29: ...256 yL yH 256 8 header 4 bytes of NV memory The definition area in this printer is a maximum of 192K bytes This command can define several NV bitmaps but cannot define bitmap data whose total capacity...

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

Страница 31: ...nly when there is 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 e...

Страница 32: ...rameter meaning as below d1 dk horizontal position in 8 as unit null as the terminator Range XX58 1 d 46 d1 d2 dk 1 k 16 XX80 1 d 70 d1 d2 dk 1 k 16 Defaults The default positioning position is the 8...

Страница 33: ...s below n print position 0 48 don t print 1 49 above the bar code 2 50 below the bar code 3 51 above and below the bar code Range 0 n 3 or 48 n 51 Defaults n 0 Support model All Notes The command sett...

Страница 34: ...NUL DEC 29 107 m d k NUL Hex 1D 6B m d k NUL B ASCII GS k m n d k DEC 29 107 m n d k Hex 1D 6B m n d k Function 1D bar code printing the parameters meaning as below m is encoding n is code data length...

Страница 35: ...255 even numbers 0 9 48 d 57 6 CODAB AR NW 7 chan geab le 1 k 0 9 A D a d 48 d 57 65 d 68 97 d 100 d 36 43 45 46 47 58 65 d1 68 65 dk 68 97 d1 100 97 dk 100 Command B m Coding system Bar code length S...

Страница 36: ...Defaults None Support model All Notes 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 affect...

Страница 37: ...s data but excluded system character NSC and check code The transition relation between transmission and printing data as below When d6 is 1 9 be sure d7 d8 d9 d10 are 0 and d11 is 5 9 Initial charact...

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

Страница 39: ...48 02 1d 6b 41 0c 31 32 33 34 35 36 37 38 39 30 31 32 1d 6b 42 0c 30 32 33 34 35 36 30 30 30 30 38 39 1d 6b 43 0c 30 32 33 34 35 36 30 30 30 30 38 39 1d 6b 44 08 30 32 33 34 35 36 30 30 1d 6b 45 08 3...

Страница 40: ...ypes to be transmitted are shown as below 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 Therefore b...

Страница 41: ...1 bite data It is not sure host computer will receive printer transmit situation Printer executed immediately after received the command The command only effective for serial printer Printer start to...

Страница 42: ...be 1 5 0 00 0 Paper adequate 1 20 32 Paper shortage 6 0 00 00 No error 1 40 64 Error 7 0 00 0 Fixed to be 0 n 3 transmit error status bite 0 1 Hexadecim al decimalis m Function 0 0 00 0 Fixed to be 0...

Страница 43: ...per sensor status bite 0 1 Hexadecim al decimalis m Function 0 0 00 0 Fixed to be 0 1 1 02 2 Fixed to be 1 2 3 0 00 0 Paper 1 0C 12 Paper near end 4 1 10 16 Fixed to be 1 5 6 0 00 0 Paper 1 60 96 Pape...

Страница 44: ...cn 49 fn 69 48 n 51 Defaults n 48 Support model All Notes Setting error correction level of QR code n Function Approximate Amount of correction 4 8 Error correction level L 7 4 9 Error correction leve...

Страница 45: ...fn m Function Printing QR code Range pL 3 pH 0 cn 49 fn 81 m 48 Defaults None Support model All Notes Printing QR code Users must consider QR code graph space The space of up and down left and right...

Страница 46: ...parator 1FH 31 1byte Fixed Value 31H 49 1byte Separator 1FH 31 1byte Other Information 30H or 31H 48 or 49 1byte NUL 00H 0 1byte Range pL 3 pH 0 cn 49 fn 82 m 48 Defaults None Support model All Notes...

Страница 47: ...Range QR code numbers 0 m 3 QR code size n 1 8 P1H p1L specify the location of QR1 p1H 256 p1L L1H l1L specify the data length of QR1 l1H 256 l1L Ecc1 specify error correction level about QR1 0 7 1 15...

Страница 48: ...ng This command prints the data contained in the print buffer and initializes various setup items Restore default values for each parameter Range None Default value None Support model All Notes None E...

Отзывы: