BD2-2880/2890 User’s Manual
47
ESC a n
Aligning the characters
<1B>H<61>H<n>
{0 =< n =< 2} Data is described in Hex code.
All the printed data within one line are aligned in the specified position.
•
Depending on n value, positional alignment is carried out as in the table below:
n (Hex)
Position
0 Left
end
alignment
1 Centering
2
Right end alignment
•
This is valid only when n is inputted at the beginning of line.
•
The initial value of n is "0".
LPRINT CHR$ (&H1B) + "a" + CHR$ (0);
LPRINT "AAAAA" + CHR$ (&HA);
LPRINT CHR$ (&H1B) + "a" + CHR$ (1);
LPRINT "AAAAA" + CHR$ (&HA);
LPRINT CHR$ (&H1B) + "a" + CHR$ (2);
LPRINT "AAAAA" + CHR$ (&HA);
Left-justified
Centered
Right-justified
Paper Feed Direction
[Function]
[Code]
[Range]
[Outline]
[Caution]
[Sample Program]
[Print Results]