BTP-M300 Programming Manual
- 6 -
[Notes]
Set horizontal tab positions.
• n specifies the column number for setting a horizontal tab position from the beginning of
a line.
• k indicates the total number of horizontal tab positions to be set.
•
ESC D NUL
cancels all tab positions.
• The horizontal tab position is stored as a value of [character width × n] measured from
the beginning of a line. The character width includes the right-side character spacing,
and double-width characters are set with twice the tap distance of normal characters.
• This command cancels the previous tab position settings.
• Up to 32 tab positions (k = 32) can be set. Data exceeding 32 tab positions is processed
as normal data.
• When [n] k is less than or equal to the preceding value [n] k-1, tab setting is finished and
the following data is processed as normal data.
• ESC D NUL cancels all tap position settings;
• The previously specified horizontal tab positions do not change, even if the character
width changes.
[Default]
The default tab positions are at intervals of 8 characters for Font B.
[Relative] HT
ESC a n
[Function]
Select character justification mode
[Format]
ASCII
ESC a
n
Hex
1B
61
n
Decimal 27
97
n
[Range]
0
≤
n
≤
2, 48
≤
n
≤
50
[Notes]
Align all the data in some specified justification mode.
n selects the justification as follows:
n
Justification
0,48
Left justification
1, 49
Centering
2, 50
Right justification
[Default]
n = 0
[Demo] 0A
(Set the print position to the beginning of a line)
1B 40
(Initialize the printer)
1B 61 00
(Set the left alignment of characters)
41 42 43
0A
41 42 43 44
0A
41 42 43 44 45
0A
1B 61 01
(Set centering of characters)
41 42 43
0A
41 42 43 44
0A
41 42 43 44 45
0A