– 38 –
PAGE MODE
FUNCTION
Set bar code data
CODE
<ESC>
“R
B
n1n2
; a1a2.…an”<LF> <NUL>
HEX
1B
52
42
n1n2
3B a1a2.…an 0A
00
REMARKS
This command defines the bar code data to be printed.
n1n2
: Two digits reference number of defined bar code
whose print position and type are previously defined
with <ESC>“PB”.
a1a2.…an : Bar code data to be encoded and printed.
Note:
a) Start character of CODE 39 is automatically inserted.
b) Check word of JAN, EAN, or UPC is automatically
calculated and inserted.
c) When data length does not meet the specifications of
JAN, EAN, or UPC, data length is automatically
modified.
d) CODE 128 conforms to EAN-128; the start code,
check word, and stop code of CODE 128 are auto-
matically inserted.
e) Start, stop and check characters of CODE 93 are
automatically inserted.
f) Start and stop characters of Interleaved 2 of 5 are
automatically inserted.
g) When the number of digits of lnterleaved 2 of 5 is an
odd number, “0” is automatically inserted as the
highest digit.
h) If “;” is missing, printer goes into an error condition.
EXAMPLE
Defined bar code number: 00, print data: 12345678901
LPRINT CHR$(&H1B);“RB00;12345678901”;CHR$(&H0A);
CHR$(&H00);
FUNCTION
Store dot graphic data into image memory
CODE
<ESC>
“Q
;
x1x2x3x4
,
y1y2y3y4
,
|1|2|3|4
,
w1w2w3
, n11n12n13n.…n1k
<LF>.…nm1nm2.…nmk”
<LF> <NUL>
HEX
1B
51
3B x1x2x3x4 2C y1y2y3y4 2C
|1|2|3|4
2C w1w2w3 2C n11n12n13n.…n1k
<LF>.…nm1nm2.…nmk”
0A
00
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: ......