– 55 –
PAGE MODE
EXAMPLE Bar code string number 10, starting position of bar code (X, Y)
= 5 mm, 10 mm, use Mode 1 of EAN-13, Bar code height 10 mm
data:246801357956, bar code rotation direction 0 degree
LPRINT CHR$(&H1B);“PB10;0050,0100,1,6,0,0100”;
CHR$(&H0A);CHR$(&H00);
LPRINT CHR$(&H1B);“RB10;246801357956”;
CHR$(&H0A);CHR$(&H00);
(7) CODE 128
This code can represent 128 ASCII characters.
1) Each mode and module width
a) Horizontal printing Note: The start and stop bars are not included.
Item
Module width
Width of one
character
Mode 1
Mode 2
Mode 3
2 dots
3 dots
4 dots
2.75 mm
4.125 mm
5.5 mm
Item
Module width
Width of one
character
Mode 1
Mode 2
Mode 3
2 dots
3 dots
4 dots
3.125 mm
4.5 mm
6.5 mm
b) Vertical printing
2) REQUIREMENTS
%(25 H) is sent as data %0(25H 35H). Control codes 00H to 1FH and 7FH are
sent as data % followed by 40H to 5FH and 35 H. For example, control code 7FH
is sent as data %5 (25H 35H). Function codes are sent as data % followed by 1
to 4 (31H to 34H). The start code is sent as data % followed by 6 to 8(36H to 38H).
Although CODE 128 data requires START CODE, the printer automatically adds
START CODE. Please omit START CODE when sending data to the printer.
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: ......