– 34 –
PAGE MODE
FUNCTION
Define bar code format
CODE
<ESC>
“P
B
n1n2
;
x1x2x3x4
,
y1y2y3y4 ,
w
,
b
,
m
,
h1h2h3h4”<LF><NUL>
HEX
1B
50
42
n1n2
3B x1x2x3x4 2C
y1y2y3y4 2C
w
2C
b
2C
m
2C
h1h2h3h4 0A
00
REMARKS
This command defines start position and type of bar code string.
n1n2
: Bar code string number (00 to 31)
x1x2x3x4 : Print start position in the X direction (0000 to 0800
×
0.1 mm)
y1y2y3y4 : Print start position in the Y direction (0000 to 3000
×
0.1 mm)
w
: Mode (See Appendix for details)
b
: Bar code type (1 to 7)
1: CODE 39
2: INTERLEAVED 2 OF 5 (ITF)
3: CODE 93
4: UPC-A
5: JAN/EAN-8
6: JAN/EAN-13
7: CODE 128
8: NW-7
m
: Bar code rotation direction (0 to 3) (clockwise)
0
1
2
3
0 degree
90 degrees 180 degrees 270 degrees
h1h2h3h4 : Bar code height (0000 to 2999
×
0.1 mm)
Note:
a) When a bar code is rotated, its dimensions may not
conform to ANSI specifications. Make sure that the
printed bar code is compatible with the scanner or
scanners to be utilized.
b) Up to 32 bar codes can be defined.
c) If “;” or “,” is missing, printer goes into an error
condition.
Summary of Contents for TSP400 Series
Page 1: ...Thermal Printer TSP400 Series TUP400 Programmer s Manual...
Page 2: ......
Page 103: ...100 Page Mode Character type Small size or standard...
Page 104: ...101 Page Mode Character type Boldface...
Page 105: ...102 Page Mode International Character Set...
Page 106: ...103 Line Mode...
Page 107: ...104 Line Mode Character table Normal...
Page 108: ...105 Line Mode Character table katakana...
Page 109: ...106 Line Mode Character table IBM...
Page 110: ...107 Line Mode International Character Set...
Page 135: ......