TH180 Programmer’s Guide
77
GS k m d1 ~ dk NULL
[Designation] Print bar code (No. 1)
[Format]
1DH, 6BH, m, d1 ~ dk 00H
[Valid limits]
0 m 6
32 d 126
1 k 255
[Initial value] ---
[Function] (1) Selects a bar code system and prints the bar code.
m
Bar code system Number of bar code data
items
Definition area of data
0
UPC-A
Fixed (11 k 12
48 data 57
1
UPC-E
Fixed (11 k 12)
48 data 57
2
JAN13(EAN)
Fixed (12 k 13)
48 data 57
3
JAN8(EAN
Fixed (7 k 8)
48 data 57
4
CODE39
Variable (1 k)
48 data 57
65 data 90
32, 36, 37, 43, 45, 46, 47
5
ITF
Variable (1 k; must be an
even number)
48 data 57
6
CODABAR
Variable (1 k)
48 data 57
65 data 68
97 data
100
36, 43, 45, 46, 47, 58
(2) This command terminates in a NULL code.
(3) For UPC-A and UPC-E, the bar code is printed when 12 bytes of bar code data
are entered. From the next data, the data is processed as normal data.
(4) For JAN-13, the bar code is printed when 13 bytes of bar code data are entered.
From the next data, the data is processed as normal data.
(5) For JAN-8, the bar code is printed when eight bytes of bar code data are
entered. From the next data, the data is processed as normal data.
(6) The number of data items of ITF bar codes must be an even number.
If the number of data items is an uneven number, the last data item will be
ignored.
(7) For standard mode
a. If parameter d is outside the definition area, only the paper is advanced.
From the next data, the data is processed as normal data.
b. If the horizontal width of the bar code exceeds the print area of one line,
only the paper is advanced. The bar code is not printed.
c. The paper is advanced for the height (including HRI characters when HRI
character printing is specified) of the bar code regardless of the amount of
line feed of the commands below:
(a) Select 1/6-inch line spacing (ESC 2)
(b) Set line spacing (ESC 3)
d. This command is valid only when there is no data in the print buffer.
Summary of Contents for TH180
Page 1: ...TH180 Thermal Printer Programmer s Guide Edition November 2012 ...
Page 10: ...TH180 Programmer s Guide 5 Code Tables Page 0 PC437 ...
Page 11: ...TH180 Programmer s Guide 6 Page 1 Katakana ...
Page 12: ...TH180 Programmer s Guide 7 Page 2 PC850 ...
Page 13: ...TH180 Programmer s Guide 8 Page 3 PC860 ...
Page 14: ...TH180 Programmer s Guide 9 Page 4 PC863 ...
Page 15: ...TH180 Programmer s Guide 10 Page 5 PC865 ...
Page 16: ...TH180 Programmer s Guide 11 Page 16 WPC1252 ...
Page 17: ...TH180 Programmer s Guide 12 Page 17 PC866 ...
Page 18: ...TH180 Programmer s Guide 13 Page 18 PC852 ...
Page 19: ...TH180 Programmer s Guide 14 Page 19 PC858 ...
Page 20: ...TH180 Programmer s Guide 15 Page 254 MIK ...
Page 21: ...TH180 Programmer s Guide 16 Page 255 Blank Page ...
Page 22: ...TH180 Programmer s Guide 17 Page 8 PC857 ...
Page 23: ...TH180 Programmer s Guide 18 Page 26 Thai code 18 ...
Page 24: ...TH180 Programmer s Guide 19 Page 40 PC864 ...
Page 25: ...TH180 Programmer s Guide 20 Page 249 PC851 ...
Page 26: ...TH180 Programmer s Guide 21 Page 250 PC869 ...
Page 27: ...TH180 Programmer s Guide 22 Page 251 ISO8859 2 ...
Page 28: ...TH180 Programmer s Guide 23 Page 252 ISO8859 7 ...
Page 29: ...TH180 Programmer s Guide 24 Page 253 PC866 Type 2 ...
Page 162: ...Wincor Nixdorf International GmbH 2012 D 33094 Paderborn ...