TH320/TH420
Programmers Guide
81
Print barcode
First Variation
Second Variation
ASCII
GS k m d1…dk NUL
GS k m n d1…dn
Hexadecimal 1D 6B m d1…dk00
1D 6B mnd1…dn
Decimal
29 107 m d1 dk 0
29 107 m n d1…dn
(0=End of command)
Selects the bar code type and prints a bar code for the ASCII characters entered. If the width of the
bar code exceeds one line, the bar code is not printed.
There are two variations to this command. The first variation uses a NUL character to terminate the string;
the second uses a length byte at the beginning of the string.
The check digit is calculated for UPC and JAN (EAN) codes if it is not sent from the host computer.
Six-character zero-suppressed UPC-E tags are generated from full 11 or 12 characters sent from the
host computer according to standard UPC-E rules. Start/stop characters are added for code 39 if they
are not included.
Rotated barcodes set with small modules (select bar code width command 1D 77 n, with n = 1 or 2)
and PDF 417 barcodes in any orientation are printed at low speed, for better readability.
Exceptions
The command is only valid at the beginning of a line. Illegal data cancels the command.
Values:
First variation: String terminated with NUL character
m
Barcode
d 1...dk
n, length
0
UPC-A
48–57 (ASCII numerals)
Fixed length: 11, 12
1
UPC-E
48–57
Fixed length: 11, 12
2
JAN13 (EAN)
48–57
Fixed length: 12, 13
3
JAN8 (EAN)
48–57
Fixed length: 7, 8
4
Code 39
48–57, 65– 90 (ASCII alphabet), 32, 36, 37, 43, 45, 46, 47 (ASCII
special characters)
d 1 = dk = 42 (start/stop code is supplied by printer if necessary)
Variable length
5
Interleaved 2 of 5
48– 57
Variable length (even
number)
6
Codabar
65–68, start code 48–57, 36, 43, 45, 46, 47, 58
Variable length
10
PDF 417**
1–255
Variable length,
maximum 1000
characters
** This bar code can not be printed on the slip station.
Содержание TH320
Страница 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Страница 75: ...TH320 TH420 Programmers Guide 67 ...
Страница 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Страница 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Страница 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Страница 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Страница 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Страница 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Страница 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Страница 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Страница 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Страница 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Страница 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Страница 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Страница 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Страница 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Страница 156: ......
Страница 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...