CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-30
8.10.17 HORIZONTAL TAB POSITIONS SET COMMAND
[ESC] D
Function
Specifies the position of the horizontal tab.
Format
[ESC] D [n
1
n
2
n
3
… n
k
] [NUL]
Term ASCII:
ESC
D
Hex: 1Bh 44h
[Parameter]
n: Horizontal tab position (No. of digits)
1
≤
n
≤
255 (01h
≤
n
≤
FFh)
k: Maximum number of horizontal tab positions 0
≤
k
≤
32 (00h
≤
k
≤
20h)
Default value Every 8 characters of font A (9th, 17th, 25th digit…)
Explanation
(1) The specified position of the horizontal tab is determined by [character width
×
n]
from the left margin or the beginning of a line. “Character width” in this context
refers to the width of a character including space on its right. Therefore, if a
magnification is set to x 2 or more, the character width will be enlarged accordingly.
(2) The position of the horizontal tab that has been specified is cleared.
(3) With n = 8 for the position of the horizontal tab, the next print position will be shifted
to the 9th digit by executing the Horizontal Tab Command ([HT]).
(4) The maximum permissible number of horizontal tab positions is 32 (k = 32). If it is
exceeded, the subsequent data will be processed as normal data.
(5) Values are inputted to <n> for the position of the horizontal tab in ascending order,
ending with (00H). If <n> is equal to or smaller than the previous <n>, the
horizontal tab position setting will be aborted immediately, and the subsequent data
will be processed as normal data.
(6) All horizontal tab positions are cleared by [ESC] D [NUL].
(7) The specified horizontal tab position will remain unchanged even if the character
width is changed after the horizontal tab position is specified.