Page 43 of 64
GS k
+m
+n
+d1 dn [1D 6B
+m
+n
(DATA)]
For +m = 41hex through 49hex,
+m
selects the bar code type, +n = number of data bytes to follow.
Bar Code Command Values
+m
Bar Code
+n(dec)
=
Valid data
41 hex
UPC-A
11 or 12
0 - 9
42 hex
UPC-E
11 or 12
0 – 9
43 hex
JAN(EAN)13
12 or 13
0 - 9
44 hex
JAN(EAN)8 7 or 8
0 - 9
45 hex
CODE39
1 thru 255
0 - 9, A-Z,
space, $ % + - .
/
46hex
I 2 of 5
even 1 thru 255 0 - 9
47hex CODABAR 1
thru
255
0 – 9, A,B,C,D,
$ + - . / :
48hex
Code93
1 thru 255
00hex thru
7Fhex
49hex
Code128
2 thru 255
00hex thru
7Fhex
Table 21 Bar Code Command Values
Notes:
1. +n indicates the number of data bytes which follow.
2. If +n is outside the allowable range, the command aborts and following data is treated as normal data.
Notes when CODE93 (+m=48hex) is used:
1. In the HRI fields, a small square is printed as the start character and as the stop character before and after the
HRI character string.
2. In the HRI field, a small solid block followed by alphabetic character is printed when a control code is printed.
The character printed after the block for each control code is (nn in hex,alphe character): 00,U 01,A 02,B 03,C 04,D
05,E 06,F 07,G 08,H 09,I 0A,J 0B,K 0C,L 0D,M 0E,N 0F,O 10,P 11,Q 12,R 13,S 14,T 15,U 16,V 17,W 18,X 19,Y 1A,Z
1B,A 1C,B 1D,C 1E,D 1F,E 7F,T..
Notes when CODE128 (+m=49 hex) is used:
1. The first character of the bar code data string must be the code set selection character (CodeA, CodeB, or
CodeC) which selects the first code set to use. Code setcharacters are specified by sending a two character
sequence, the first character is { (7B hex) and the second is a printable ASCII character. CodeA = {A, CodeB = {B,
CodeC = {C.
a. Code set A consists of the ASCII characters 00 hex through 5F hex, FNC1 through FNC4, SHIFT, CodeB, and
CodeC.
b. Code set B consists of the ASCII characters 20 hex through 7F hex, FNC1 through FNC4, SHIFT, CodeA, and
CodeC.
c. Code set C consists of 2-digit numeral characters using one character (100 numerals from 00 dec through 99
dec or 00 hex through 63 hex), FNC1, CodeA, and CodeB.
2. Special characters are specified by sending a two character sequence, the first character is { (7B hex) and the
second is a printable ASCII character. The special characters are SHIFT and the FUNCTION characters. SHIFT = {S,
FNC1 = {1, FNC2 = {2, FNC3 = {3, and FNC4 = {4. To specify the character { send {{. The usage of FUNCTION
characters depends on the application program.
3. In code set A the character just after SHIFT is processed as a character for code set B. In code set the
character just after SHIFT is processed as a character for code set C. In code set C the SHIFT is invalid.
4. HRI characters are not printed for the SHIFT characters or CODE SET selection characters.
5. HRI for a Function character is a space.
6. HRI for a control code (00hex through 1Fhex, and 7Fhex) is a space.
7. Errors in the data cause the bar code processing to abort, data following is treated as normal data.
a. The top of the data field is not a code set selection character.
b. If a sequence {+n is invalid.
c. Characters that can not be used in special code set.
Содержание MTP-1500
Страница 8: ...Page 8 of 64 Table 27 International Character Set 68...
Страница 50: ...Page 50 of 64 5 3 3 Katakana Character Set Figure 16 Katakana Character Set 80 FF hex...
Страница 51: ...Page 51 of 64 5 3 4 PC850 Multilingual Character Set Figure 17 PC850 Multilingual Character Set...
Страница 52: ...Page 52 of 64 5 3 5 PC860 Portuguese Character Set Figure 18 PC860 Portuguese Character Set...
Страница 53: ...Page 53 of 64 5 3 6 PC863 Canadian French Character Set Figure 19 PC863 Canadian French Character Set...
Страница 54: ...Page 54 of 64 5 3 7 PC865 Nordic Character Set Figure 20 PC865 Nordic Character Set...
Страница 55: ...Page 55 of 64 5 3 8 WPC 1252 Character Set Figure 21 WPC 1252 Character Set...
Страница 56: ...Page 56 of 64 5 3 9 PC866 Cyrillic 2 Character Set Figure 22 PC866 Cyrillic 2 Character Set...
Страница 57: ...Page 57 of 64 5 3 10 PC852 Latin 2 Character Set Figure 23 PC852 Latin 2 Character Set...
Страница 58: ...Page 58 of 64 5 3 11 PC858 Euro Character Set Figure 24 PC858 Euro Character Set...
Страница 59: ...Page 59 of 64 5 3 12 Space Page Character Set Figure 25 Space Page Character Set Table 26 Default Character Set...
Страница 60: ...Page 60 of 64 5 3 13 Overseas Character Set Table 27 Overseas Character Set...
Страница 61: ...Page 61 of 64 5 3 14 International Character Set Table 28 International Character Set...
Страница 63: ...Page 63 of 64 5 4 2 Dimensional Drawings of MTP 1532 82 5 mm Version...