background image

CSN-A1K User manual

29

/

72

It is possible to define multiple characters for consecutive character
codes. If only one character is desired, use c1=c2.

d is the dot data for the characters. The dot pattern is in the horizontal
direction from the left side. Any remaining dots on the right side are
blank.

The data to define user-defined characters is (y×x) bytes.

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 and a downloaded bit image cannot be
defined simultaneously. When this command is executed, the
downloaded bit image is cleared.

The user-defined character definition is cleared when:

1

ESC @

is executed.

2

GS *

is executed.

3

ESC ?

is executed.

4

The power is turned off.

[Default]

The internal character set

[Reference]

ESC %

,

ESC ?

[Example]

When Font A (12×24) is selected.

Summary of Contents for CSN-A1K

Page 1: ...CSN A1K User manual 1 72 CSN A1K Micro panel printer s User Manual Version1 1...

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

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

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

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

Page 6: ...CSN A1K User manual 6 72...

Page 7: ...CSN A1K User manual 7 72...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Page 72: ...CSN A1K User manual 72 72...

Reviews: