background image

CSN-A1K User manual

40

/

72

and printed by

FS p

.

In standard mode, this command is effective only when processed at
the beginning of the line.

This command is effective when 7 bytes<FS yH> of the command
are processed normally.

When the amount of data exceeds the capacity left in the range
defined by xL, xH, yL, yH, the printer processes xL, xH, yL, yH out of
the defined range.

In the first group of NV bit images, when any of the parameters xL,
xH, yL, yH is out of the definition range, this command is disabled.

In groups of NV bit images other than the first one, when the printer
encounters 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 bit images that haven’t been defined are disabled
(undefined), but any NV bit images before that are enabled.

The d indicates the definition data. In data (d) a 1 bit specifies a dot
to be printed and a 0 bit specifies a dot not to be printed.

This command defines n as the number of a NV bit image. 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

.

The definition data for an NV bit image consists of [xL xH yL yH
d1...dk]. Therefore, when only one NV bit image is defined n=1, the
printer processes a data group [xL xH yL yH d1...dk] once. The
printer uses ([data: (xL+xH×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 bit images, but cannot define bit
image data whose total capacity [bit image data+header] exceeds
192K bytes.

The printer does not transmit ASB status or perform status detection
during processing of this command even when ASB is specified.

Once an NV bit image is defined, it is not erased by performing

ESC

@

, reset and power off.

This command performs only definition of an NV bit image and does
not perform printing. Printing of the NV bit image is performed by the

FS p

command.

[Reference]

FS p

[Example]

xL=64, xH=0, yL=96, yH=0

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

Страница 1: ...CSN A1K User manual 1 72 CSN A1K Micro panel printer s User Manual Version1 1...

Страница 2: ...tor 10 5 2 USB port 10 5 2 1 J2 Power supply connector 10 5 2 2 CN1 USB MINID connector 10 6 printer functions 11 7 Using attention 11 8 ESC POS Printing Command Set 12 8 1 Command list 12 8 2 Command...

Страница 3: ...rrors or omissions 5 Neither is any liability assumed for damages resulting from the use of the information contained herein 6 Kashino Technology Limited shall be not liable to the purchaser of this p...

Страница 4: ...rinting Paper loading method easy paper loading Paper width 57mm Print width 48mm Resolution ration 8dots mm 384dots line Life of printing head 50km Printing speed 50mm sec Max 80MM sec voltage 8 5V C...

Страница 5: ...and dimension 3 1 Outline pictures Outline dimension 76 8 W x 77 4 D x 47 6H mm Embeded dimension 72 8W x 73 4D x 34 65H mm Front panel Size 76 8 W x 77 4D mm Embedded depth 34 65 mm Max diameter of p...

Страница 6: ...CSN A1K User manual 6 72...

Страница 7: ...CSN A1K User manual 7 72...

Страница 8: ...ferent from each board 4 2 Panel LED Indicators There is one LED on board to indicate the status of the board The indicator is as follows Blink one times Work well Blink two times No printer is detect...

Страница 9: ...panel printer with keyboard as optional as below picture Printer Statu OFF OFF Line ON Line End of Paper Over Under Voltage or Temperature Push Button 1 Execute self test if pressed during Power on Fe...

Страница 10: ...5 1 Serial RS232 TTL 5 1 1 Power supply connector J5 User side matching connector Molex 53047 Series 9 contacts male Molex 51021 Series female Contacts 50079 50058 Pin number Signal name Pin number Si...

Страница 11: ...tor J3 User side matching connector Molex 53047 Series 5 contacts male Molex 51021 Series female Contacts 50079 50058 Pin number Signal name 1 GND 2 Transmit data Txd printer output 3 Receive data Rxd...

Страница 12: ...Sixth strobe 8 STB5 Fifth strobe 9 STB4 Fourth strobe 10 P_GND Gnd for logic 11 P_GND Gnd for dotline 12 P_GND Gnd for dotline 13 P_GND Gnd for dotline 14 TM Thermistor first terminal second in Gnd 15...

Страница 13: ...l damaged so pls don t push the paper harder pls do open the cover and re fill the paper 7 5 The temperature of the TPH protection must be below 65 if you print continously Because the exterior of the...

Страница 14: ...SC R n Select and international character set ESC t n Select character code table Bit Image Commands ESC Select bit image mode GS Define downloaded bit image GS n Print downloaded bit image GS v Print...

Страница 15: ...save print parameter for XBLY FS d Load default leaving factory set for XBLY 8 2 Command Detail 8 2 1 Print Commands LF Name Print and line feed Format ASCII LF Decimal 10 Hexadecimal 0A Description...

Страница 16: ...the next line Reference ESC D FF Name Print the data in buffer and locate to the next black mark Format ASCII FF Decimal 12 Hexadecimal 0c Description Print the data in the buffer Locate to the black...

Страница 17: ...ven if the character width changes The character width is memorized for each standard mode Default The default tab positions are at intervals of 8 characters columns 9 17 25 for Font A 12 24 Reference...

Страница 18: ...II ESC n Decimal 27 61 n Hexadecimal 1B 3d n Description Set peripheral device Bit Off On Hex Decimal Function 0 Off 00 0 Printer offline not receive print data On 01 1 Printer online receive print da...

Страница 19: ...0 48 Left justification 1 49 Centering 2 50 Right justification Note The command is enabled only when processed at the beginning of the line in standard mode This command executes justification in th...

Страница 20: ...H Name Set absolute print positions Format ASCII ESC nL nH Decimal 27 36 nL nH Hexadecimal 1B 24 nL nH Range 0 nL 255 0 nH 255 Description Set the distance from the beginning of the line to the positi...

Страница 21: ...ouble height mode not selected On 10 16 Double height mode selected 5 Off 00 0 Double width mode not selected On 20 32 Double width mode selected 6 Off 00 0 Turn Deleteline mode on off not selected On...

Страница 22: ...when character orientation changes in 90 clockwise rotation mode the relationship between vertical and horizontal directions is reversed When characters are enlarged with different sizes on one line...

Страница 23: ...ckwise rotation mode on off Format ASCII ESC V n Decimal 27 86 n Hexadecimal 1B 56 n Range 0 n 1 48 n 49 Description Turns 90 clockwise rotation mode on off n is used as follows n Function 0 48 Turns...

Страница 24: ...east significant bit of n is enabled This command and ESC turn on and off emphasized mode in the same way Be careful when this command is used with ESC Default n 0 Reference ESC ESC SP n Name Set righ...

Страница 25: ...down printing mode Format ASCII ESC n Decimal 27 123 n Hexadecimal 1B 7B n Range 0 n 255 Description Turns upside down printing mode on or off When the LSB of n is 0 upside down printing mode is turn...

Страница 26: ...is not underlined and the underline thickness set before the mode is turned off does not change The default underline thickness is 1 dot Changing the character size does not affect the current underli...

Страница 27: ...lected when the power is turned on Reference FS FS Name Cancel Kanji character mode Format ASCII FS Decimal 28 46 Hexadecimal 1C 2E Description Cancels Kanji character mode Note For Kanji model When t...

Страница 28: ...ne are double or more height all the characters on the line are aligned at the baseline It is possible to emphasize the Kanji character using GS the setting of the last received command is effective D...

Страница 29: ...es Set a corresponding bit to 1 to print a dot or 0 not to print a dot This command can define different user defined character patterns for each font To select a font use ESC User defined characters...

Страница 30: ...er the user defined characters are canceled the corresponding patterns for the internal characters are printed This command deletes the pattern defined for the specified code in the font selected by E...

Страница 31: ...20 Arabic 4 CP863 Canadian French 28 CP855 5 CP865 Nordic 29 CP857 Turkish 6 WCP1251 Cyrillic 30 WCP1250 Central Eurpoe 7 CP866 Cyrilliec 2 31 CP775 8 MIK Cyrillic Bulgarian 32 WCP1254 Turkish 9 CP755...

Страница 32: ...al 27 42 m n1 n2 d1 d2 dk Hexadecimal 1B 2A m n1 n2 d1 d2 dk Range m 0 1 32 33 nL 0 255 nH 0 3 dx 0 255 Description Selects a bit image mode using m for the number of dots specified by nL and nH as fo...

Страница 33: ...data Set a corresponding bit to 1 to print a dot or to 0 not to print a dot After printing a bit image the printer returns to normal data processing mode This command is not affected by print modes em...

Страница 34: ...of dots in the horizontal direction y specifies the number of dots in the vertical direction Note The number of dots in the horizontal direction is x 8 in the vertical direction it is y 8 If x y is o...

Страница 35: ...0 48 Normal 203 2 dpi 203 2 dpi 1 49 Double width 203 2 dpi 101 6 dpi 2 50 Double height 101 6 dpi 203 2 dpi 3 51 Quadruple 101 6 dpi 101 6 dpi Note This command is ignored if a downloaded bit image h...

Страница 36: ...the horizontal direction for the bit image yL yH select the number of data bits yL yH 256 in the vertical direction for the bit image Note In standard mode this command is effective only when there i...

Страница 37: ...imal 18 42 r n d1 dn Hexadecimal 12 2A r n d1 dn Description Printing bitmap with width height r Bitmap height n Bitmap width Bitmap format DC2 V nL nH d1 dn Name Print MSB Bitmap Format ASCII DC2 V n...

Страница 38: ...emory by FS q and printed by FS p This command is not effective when the specified NV bit image has not been defined In standard mode this command is effective only when there is no data in the print...

Страница 39: ...e the NV memory Therefore it is recommended to write the NV memory 10 times or less a day The printer performs a hardware reset after the procedure to place the image into the NV memory Therefore user...

Страница 40: ...s n as the number of a NV bit image 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...

Страница 41: ...Print LSB Bitmap Format ASCII DC2 v nL nH d1 d48 Decimal 18 118 nL nH d1 d48 Hexadecimal 12 76 nL nH d1 d48 Description This command use to print LSB format bitmap The width of bitmap must the same a...

Страница 42: ...aracters Note The DIP switch settings are not checked again The data in the receive buffer is not cleared 8 2 6 Status Command ESC v n Name Transmit paper sensor status Format ASCII ESC v n Decimal 27...

Страница 43: ...ue 0 1 0 1 2 Disable Enable ASB Disable Enable 3 4 5 Disable Enable RTS as flow control Disable Enable 6 7 ESC u n for Drawer Name Transmit peripheral devices status Format ASCII ESC u n Decimal 27 11...

Страница 44: ...ition of the DSR signal This command is executed when the data in the receive buffer is developed Therefore there may be a time lag between receiving this command and transmitting the status depending...

Страница 45: ...e bar code HRI indicates Human Readable Interpretation Note HRI characters are printed using the font specified by GS f Default n 0 Reference GS f GS k GS h n Name Set bar code height Format ASCII GS...

Страница 46: ...ecimal 1D 6B m d1 d2 dk 00 Format ASCII GS k m n d1 d2 dn Decimal 29 107 m n d1 d2 dn Hexadecimal 1D 6B m n d1 d2 dn Range 0 m 6 k and d depend on the bar code system used Range 65 m 73 n and d depend...

Страница 47: ...e last received data Notes for n indicates the number of bar code data bytes and the printer processes n bytes from the next character data as bar code data If n is outside the specified range the pri...

Страница 48: ...7 T Example Printing GS k 72 7 67 111 100 101 13 57 51 When CODE128 m 73 is used When using CODE128 in this printer take the following points into account for data transmission The top of the bar code...

Страница 49: ...ives characters that cannot be used in the special code set the printer stops command processing and processes the following data as normal data The printer does not print HRI characters that correspo...

Страница 50: ...Name Sleep parameter Format ASCII ESC 8 n1 n2 Decimal 27 56 n1 n2 Hexadecimal 1B 38 n1 n2 Description Setting the time for control board to enter sleep mode n1 n2 256 The time waiting for sleep after...

Страница 51: ...2 E Decimal 18 69 Hexadecimal 12 45 Description Feed paper to the Mark position DC2 m d 1l 1h Name Set mark paper length Format ASCII DC2 m d 1l 1h Decimal 18 109 d 1l 1h Hexadecimal 12 6d d 1l 1h Des...

Страница 52: ...position Reference GS F ESC i for cut Name full cut paper Format ASCII ESC i Decimal 27 105 Hexadecimal 1B 69 Description ESC i select a paper cutting mode and then full cut the paper ESC m for cut Na...

Страница 53: ...0049 and cuts it ESC P m t1 t2 for Drawer Name Generate pulse Format ASCII ESC p m t1 t2 Decimal 27 112 m t1 t2 Hexadecimal 1B 70 m t1 t2 Range m 0 1 48 49 0 t1 255 0 t2 255 Description Outputs the pu...

Страница 54: ...for the positions to start the cutting m specifies the direction of the adjustment m Function 0 48 Specifies a forward paper feeding direction 1 49 Specifies a backward paper feeding direction nL and...

Страница 55: ...f receive buffer include this command s 2 bytes FS s for XBLY Name Save print parater Format ASCII FS s Decimal 28 115 Hexadecimal 1C 73 Description Save print parater only for XBLY FS d for XBLY Name...

Страница 56: ...CSN A1K User manual 56 72 Appendix 1 Code page Page0 PC437 Page3 CP860 Portuguese Code page 437 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_...

Страница 57: ...e 1 Katakana Page2 PC850 Multilingual Code page 850 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ I E_ F_ Page3 PC860 Portuguese Code page 860 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _...

Страница 58: ..._3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_ Page5 pc865 Nordic Code page 865 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_ NBSP Page6 pc1251 Cyrillic Code...

Страница 59: ..._3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_ NBSP Page8 MIK Cyrillic Bulgarian Code page MIK _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_ NBSP Page9 CP755...

Страница 60: ...6 _7 _8 _9 _A _B _C _D _E _F 8_ F 9_ C A_ B_ C_ D_ E_ F_ Page15 CP862 Hebrew Code page 862 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_ NBSP Page 16 PC1252 Latin 1 Code page...

Страница 61: ...6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ Page18 PC852 Code page 852 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_ Page19 PC858 Multilingual Latin I Euro...

Страница 62: ...7 _8 _9 _A _B _C _D _E _F 8_ F 9_ C A_ B_ C_ D_ E_ F_ Page21 Latvian Code page Latvian _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_ NBSP Page22 CP864 Arabic Code page 864 _0...

Страница 63: ...6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ NBSP 6 SHY B_ C_ D_ E_ F_ Page24 CP737 Greek Code page 737 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_ NBSP Page25 WCP1257 Baltic Code...

Страница 64: ...e26 Thai Page27 CP720 Arabic Code page 720 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ _ _ A_ B_ C_ D_ E_ F_ _ _ _ _ _ _ NBSP Page28 CP855 Code page 855 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _...

Страница 65: ..._1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ I 9_ A_ B_ C_ D_ E_ F_ Page30 WCP1250 Central Eurpoe Code page 1250 0 1 2 3 4 5 6 7 8 9 A B C D E F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ Page31 CP775 Code...

Страница 66: ...B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ Page33 WCP1255 Hebrew Code page 1255 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ 1 6 E_ F_ LRM RLM Page34 WCP1256 Arabic C...

Страница 67: ..._B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ Page36 ISO 8859 2 Latin 2 Code page 8859 2 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ Page37 ISO 8859 3 Latin 3 C...

Страница 68: ..._A _B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ Page39 ISO 8859 5 Cyrillic Code page 8859 5 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ Page40 ISO 8859 6 Arabi...

Страница 69: ..._B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ Page42 ISO 8859 8 Hebrew Code page 8859 8 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ LRM RLM Page43 ISO 8859 9 Tur...

Страница 70: ...e44 ISO 8859 15 Latin 3 Code page 8859 15 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ NBSP SHY B_ C_ D_ E_ F_ Page45 Thai2 Page46 CP856 Code page 856 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _...

Страница 71: ...4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_ A_ B_ C_ D_ E_ F_ NBSP Appendix 2 International character set County ASCII Code Hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E U S A France Germany U K Denmark Sweden...

Страница 72: ...CSN A1K User manual 72 72...

Отзывы: