Specifications

TH230/TH230+ Programmers Guide
55
ESC D
Function:
Set horizontal tab positions
Code ASCII: ESC D n1 ... nk NUL
Code HEX: 0x1B 0x44 n1 ... nk NUL
Range:
1 n 255
0 k 32
Default: n = 8, 16, 24, 32, ... (Every eight characters for the default font set by ESC !
or ESC M)
Description:
Sets a horizontal tab to n columns from the beginning of the line.
k indicates the number of horizontal tab positions to be set.
Notes:
The horizontal tab position is stored as a value of [character width × n]
measured from the beginning of the line. Double-width characters are
selected with twice the width of normal characters. The character width
should be set before using this command.
A maximum of 32 horizontal tab positions can be set. Data exceeding 32
horizontal tab positions is processed as normal data.
This command cancels any previous horizontal tab settings.
Transmit [n] k in ascending order and place a NUL code at the end. ESC
D NUL cancels all horizontal tab positions.
k is not transmission data to the printer.
Even if the character width is changed after setting the horizontal tab
positions, the setting of the horizontal tab positions will not be changed.
Horizontal tab position settings are effective until ESC @ is executed, the
printer is reset, or the power is turned off.
Print position can be changed by HT.
When the left margin setting is changed, the horizontal tab position is
also changed.