TH180 Programmer’s Guide
79
GS k m n d1 ~ dn
[Designation] Print bar code (No. 2)
[Format]
1DH, 6BH, m, n, d1 ... dn
[Valid limits]
65 m 73
1 n 255
0 d 127
[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
65 UPC-A
Fixed (11 n 12)
48 data 57
66 UPC-E
Fixed (11 n 12)
48 data 57
67 JAN13(EAN)
Fixed (12 n 13)
48 data 57
68 JAN8(EAN
Fixed (7 n 8)
48 data 57
69
CODE39
Variable (1 n 255)
48 data 57
65 data 90
32, 36, 37, 43, 45, 46, 47
70 ITF
Variable (1 n 255; must be
an even number)
48 data 57
71
CODABAR
48 data 57
65 data 68
97 data 100
36, 43, 45, 46, 47, 58
72 CODE93
Variable (1 n 255)
0 data 127
73 CODE128
Variable (2 n 255)
0 data 127
(2) Parameter n indicates the number of data items. From the next data, n bytes
are processed as bar code data.
(3) If parameter n is outside the definition area, command processing is canceled.
From the next data, the data is processed as normal data.
(4) 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.
If data is present in the print buffer, the data subsequent to parameter m is
processed as normal data.
e. When bar code printing is finished, the beginning of the new line is set as the
next print position.
f. Except for inverted printing, this command does not affect the print modes
(emphasized printing, double-strike printing, underlining, and character size).
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 ...