– 30 –
PAGE MODE
FUNCTION
Define ruled line format
CODE
<ESC> “L n1n2
;
x1x2x3x4 , y1y2y3y4 , x5x6x7x8 ,
y5y6y7y8 , d , w” <LF> <NUL>
HEX
1B
4C n1n2 3B x1x2x3x4 2C y1y2y3y4 2C x5x6x7x8 2C
y5y6y7y82C d 2C w
0A
00
REMARKS
This command defines ruled line format.
n1n2
: Line number(00 to 63)
x1x2x3x4 : Position of the starting point in the X direction (0000
to 0800
×
0.1 mm)
y1y2y3y4 : Position of the starting point in the Y direction (0000
to 0300
×
0.1 mm)
x5x6x7x8 : Position of the ending point in the X direction (0000
to 0800
×
0.1 mm)
y5y6y7y8 : Position of the ending point in the Y direction (0000
to 0300
×
0.1 mm)
These four parameters work in 1/10 mm unit, and should be given
with four digit numbers.
d
: Line direction
d=0 : Horizontal line
d=1 : Vertical line
When d=0, then y1y2y3y4 = y5y6y7y8. When d=1,
then x1x2x3x4 = x5x6x7x8.
w
: Line width 1 to 9 dots
Note:
a) This command is used to define lines for label fram-
ing.
b) Up to 64 lines can be defined.
c) Lines must be vertical or horizontal (no diagonal
line).
d) The width of one dot is about 0.125 mm, and so four
dots make 0.5 mm width.
EXAMPLE
Line number: 00
Position of the starting point (X,Y) direction: (3.3)mm
Position of the ending point (X,Y) direction: (72.3)mm
Line direction
:Horizontal line, Line width 5 dots (0.625 mm)
LPRINT CHR$(&H1B);“L00;0030,0030,0720,0030,0,5”;
CHR$(&H0A); CHR$(&H00);
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: ......