background image

Xiamen Cashino Technology Co.,Ltd

A3 User Manual

www.csntek.cn

27

Notes

this command will be ignored if the bitmap data has not been defined.

In standard mode, this command is effective only when there is no data in

the buffer area.

This command has no effect in the print modes (emphasized, double-strike,

downloadedline, 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 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...[xL xH yL yH d1...dk]n

HEX

1C 71 n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n

Function

Define the NV bitmap using the specified n.
n specifies the number of the defined NV bitmap.
xL, xH means that the defined NV bitmap specifies the horizontal dots as
(xL+xH*256)*8
yL, yH means that the defined NV bitmap specifies the vertical dots as (yL +
yHx256)*8

Parameter
range

1 ≤ n ≤ 255
0 ≤ xL ≤ 255
0 ≤ xH ≤ 3
(1 ≤ (xL+xH*256) ≤ 1023)
0 ≤ yL ≤ 255

0 ≤ yH ≤ 1
(1 ≤ (yL+yH*256) ≤ 288)
0 ≤ d ≤ 255

k = (xL+xH*256)*(yL+yH*256)*8
Totaled the defined data Area = 64 k bytes

Default

None

Support
Model

All

Notes

Frequent writing command executions may damage the NV memory.

Therefore, it is recommended to write the NV memory no more than 10 times
per day.

The printer performs a hardware reset operation after the procedure of

placing the image into the NV memory. Therefore, user-defined characters,
downloaded bitmaps should be defined only after completing this command. The
printer clears the receiving and printing buffers and resets the printer to the mode
that workable when power on. (hardware reset interface is not supported )

This command cancels all NV bitmaps that have already been defined by this

Summary of Contents for CSN-A3

Page 1: ...andardize Liu Zhonghua 2018 04 26 Authorize Wang Huanyong 2018 04 26 Tel 0592 5517253 Fax 0592 5231815 Company Name Xiamen Cashino Technology Co Ltd Address 4 F No 318 Tongji South Road Jimei District...

Page 2: ...Co Ltd A3 User Manual www csntek cn 2 Specifications Revision Record Item Date Description Edited Page Design Review 1 20180424 The first draft Zhu ChunYan Hu Riyu 2 20180523 Modify installation port...

Page 3: ...nd paper feed n line 11 Printing set commands 11 Set line space as n dots 11 Set line space to default 12 Set absolute print position 12 Set the left margin 12 Set character printing method 13 Set cha...

Page 4: ...bar code width setting 32 1D bar code printing 33 Status querying Commands 38 Transmission status 38 Real time transmission status 39 Real time transmission status 39 Two dimensional bar code command...

Page 5: ...osal Recording Meter print proposal Self service Print proposal Ticket Machine print proposal Medical instrument print proposal Weight Machine Print proposal Electric Instrument Print proposal Test In...

Page 6: ...3 1 Outline Dimention 4 Printer Parameters Print Printing Method Thermal Line Printing Speed Max 90mm s Resolution 203dpi 8dot mm Effective Printing Width 48mm Character Character Set ASCII GB2312 80...

Page 7: ...llation Port Size 71 3 44 8mm Color Black Beige Environment Operating Temp 0 C 50 C Operating Humidity 20 85 RH Storage Temp 20 C 60 C Storage Humidity 5 90 RH 5 Paper Installation 1 Open the printer...

Page 8: ...nter has USB interface which changed to USB2 0 through mini USB 2 Power PIN Number Signal Name 1 GND 5 Ground 2 VCC 5 9V 12V 3 Serial Interface 7 Care and maintenance PIN Number Direction Introduction...

Page 9: ...s can effectively extend the preservation time 3 If users want to keep the receipts for a long time please select our company s thermal paper roll 8 Command Introduction 8 1Command List LF Line feed P...

Page 10: ...ands DLE EOT n Real time transmission status ESC Printer reset Other commands DC2 T Printing self test page 8 2Commands details Printing and paper feed commands Printing and paper feed Name print and...

Page 11: ...ode ASCII ESC d n DEC 27 100 n HEX 1B 64 n Function Print the contents in printing buffer and paper feed n lines Range 0 n 255 Default None Notes Print this command set as initial position of the same...

Page 12: ...to the height of the highest character It can use ESC 3 to define line space Example None Set absolute print position Name Set absolute print position Code ASCII ESC nL nH DEC 27 36 nL nH HEX 1B 24 n...

Page 13: ...ods font highlight inversion bold double hight double width and underline parameter n bit definition as below Bit Function Value 0 1 0 Font Normal Small character 1 Undefined 2 Undefined 3 Bold Cancel...

Page 14: ...double width 01 1 2 double height 20 32 3 02 2 3 30 48 4 03 3 4 40 64 5 04 4 5 50 80 6 05 5 6 60 96 7 06 6 7 70 112 8 07 7 8 Range None Default n 0 Notes This command is effective with Chinese and ot...

Page 15: ...2D n Function Set remove underline mode based on the value of n as follow n Functions 0 48 Remove underline mode 1 49 Set underline mode 1 dot coarse 2 50 Set underline mode 2 dot coarse Range 0 n 2 4...

Page 16: ...on 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 off the setting of this instr...

Page 17: ...AE C9 CF D7 D4 BC BA 0d 0a Cancel Chinese character mode Name Cancel Chinese character mode Code ASCII FS DEC 28 46 HEX 1C 2E Function Cancel Chinese character mode Range None Default None Notes None...

Page 18: ...rom 20 H to 7E H ASCII code 95 characters It can define continuous characters encoding for several characters When it need one character only make c1 c2 d is character s dot data dot mode starts from...

Page 19: ...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 3 1B 40 1b 26 03 20 20...

Page 20: ...d 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 specified encoding If a user customized character is not...

Page 21: ...ode 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 Standard Europe 1 KataKana 2 CP850 Multilingual 3 CP860 Portuguese 4 CP863 Canadian French 5...

Page 22: ...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 A9 AA AB AC AD AE AF B0 B1 B2...

Page 23: ...h 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 can print While it is 0 it means that this bit can not print The part of graphics ho...

Page 24: ...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 d k Function Print horizontal module graphic data the parameters are as below m as bitmap method m Model Horizo...

Page 25: ...e 1B 40 1d 76 30 00 03 00 09 00 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 Define downloaded bitmap Name Define downloaded bitmap Code ASCII GS x y d1 d x y 8 DEC...

Page 26: ...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 1D 2F 00 Print downloaded bitmap Name Print downloaded bitmap Code ASCII GS m DEC 29 47 m HEX 1D 2F m F...

Page 27: ...he number of the defined NV bitmap xL xH means that the defined NV bitmap specifies the horizontal dots as xL xH 256 8 yL yH means that the defined NV bitmap specifies the vertical dots as yL yHx256 8...

Page 28: ...other than the first group when xL xH yL yH out of the defined range it stops processing this command and starts writing into the NV images At this time NV bitmaps that haven t been defined are disabl...

Page 29: ...NV bitmap is performed by the FS pcommand Diagram when xL 64 xH 0 yL 96 yH 0 Example 1B 40 1C 71 01 03 00 03 00 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...

Page 30: ...mand is effective only 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 rotat...

Page 31: ...meter meaning as below d1 dk horizontal position in 8 as unit null as the terminator Parameter 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 i...

Page 32: ...osition 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 Parameter range 0 n 3 or 48 n 51 Defaults n 0 Notes The command setting will be valid after E...

Page 33: ...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 only for command B the difference between A and B is that the data A end with N...

Page 34: ...7 58 65 d1 68 65 dk 68 97 d1 100 97 dk 100 Command B m Coding system Bar code length SP show space Data lengt h n Character set Data d 65 UPC A fixe d n 11 12 0 9 48 d 57 66 UPC E fixe d 6 n 8 n 11 12...

Page 35: ...ter style setting The print position is resorted to the print start location after the command is executed m parameter 0 6 A and 65 71 B select the same coding system the same printing effect m parame...

Page 36: ...Initial character central split character and terminator inserted automatically When print CODE39 m 4 or 69 please pay attention as following When d1 or dn are not Initial character terminator encoder...

Page 37: ...Terminator Inserted automatically d1 dk Inserted automatically Connection structure as below Initi al char acter set FNC 1 AI Data part Che ck bit A FNC 1 AI Data part Che ck bit A Che ck bit B Ter m...

Page 38: ...sing a serial interface When DTR DSR control is selected the printer transmits only 1 byte after confirming the host is ready to receive data DSR signal is SPACE If the host computer is not ready to r...

Page 39: ...dequate On 0C 12 Paperend sensor paper near end 4 Off 00 0 unused fixed to be Off 5 6 Undefined 7 Off 00 0 unused fixed to be Off Example None Real time transmission status Name Real time transmission...

Page 40: ...iately after received 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...

Page 41: ...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 volta...

Page 42: ...1 10 16 Fixed to be 1 5 6 0 00 0 Paper 1 60 96 Paper end 7 0 00 0 Fixed to be 0 Example 10 04 01 10 04 02 10 04 03 10 04 04 Two dimensional bar code commands Mode type of QR code Name Mode type of QR...

Page 43: ...pH 0 cn 49 fn 69 48 n 51 Default n 48 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 level M 15 5 0 Er...

Page 44: ...n Printing QR code Parameter range pL 3 pH 0 cn 49 fn 81 m 48 Default None Notes Printing QR bar code Users must consider QR bar code graph space The space of up and down left and right of two dimensi...

Page 45: ...yte Fixed Value 31H 49 1byte Separator 1FH 31 1byte Other Information 30H or 31H 48 or 49 1byte NUL 00H 0 1byte Parameter range pL 3 pH 0 cn 49 fn 82 m 48 Default None Notes This command do not print...

Page 46: ...tion 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 2 25 3 30 V1 specify QR1 version of the symbol 1 40 0 auto size D1 d2...

Page 47: ...the data contained in the print buffer and initializes various setup items Restore default values for each parameter Range None Default value None Notes None Example None Print self test page Name Pri...

Reviews: