background image

Xiamen Cashino Technology Co.,Ltd

A2L User Manual

48

00 20 00 0a 01 06 30 31 32 33 34 35 36 37 38 39
00 C0 00 0a 02 00 39 38 37 36 35 34 33 32 31 30

Other commands

Printer reset

Name

Printer reset

Code

ASCII

ESC @

Decimal

27 64

Hex

1B 40

Function

The ESC @ command initializes the printer as following

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

Example

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,
code page and other some information

Range

None

Default value None

Support model All

Notes

None

Example

1B 40 12 54

Summary of Contents for CSN-A2L

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: