Support
model
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
- 101 -
ESC a n
[Function]
Aligning the characters
[Code]
<1B>H<61>H<n>
[Range]
0
≤n≤2, 48≤n≤50
[Outline]
[The specification which is common to the model]
• 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]
[The specification which is common to the model]
• 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
AAAAA
Paper feed direction
Left-justified
Centered Right-justified
Содержание CT-D150
Страница 425: ...424 3 1 10Codepage00Hto7FH PC864 Arabic...
Страница 427: ...426 3 1 12Codepage00Hto7FH Thaicode11...
Страница 428: ...427 3 1 13Codepage00Hto7FH Thaicode18...