
- 38 -
ESC a n
[Function]
Aligning the characters
[Code]
<1B>H<61>H<n>
[Range]
0
≤
n
≤
2
48
≤
n
≤
50
[Outline]
All the printed data within one line are aligned in the specified position.
Depending on the value “n”, positional alignment is carried out as shown in the table
below:
n Position
0, 48
Left end alignment
1, 49
Centering
2, 50
Right end alignment
[Caution]
• This command is valid only when it is inputted at the beginning of a line.
• This command does not affect the PAGE MODE.
• Executes justification in the print area being set.
[Default]
n = 0
[Sample Program]
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);
[Print Results]
AAAAA
AAAAA
Paper
feed
direction
AAAAA
Left-justified
Centered
Right-justified
Содержание BD2-2220
Страница 1: ...Command Reference LINE THERMAL PRINTER MODEL BD2 2220 Rev 0 00 Issued on 2006 8 4...
Страница 2: ...REVISION Rev No Date Comment 0 00 2006 08 04 Newly issued...
Страница 71: ...69 Print Results No HRI characters Printed above Printed below Printed above and below 1 2 1 2 1 2 1 2...
Страница 126: ...124 3 1 10 Codepage 00H to 7FH PC864 Arabic...
Страница 128: ...126 3 1 12 Codepage 00H to 7FH Thai Code 18...