ESC "D" [n]k NUL

[Function]

Setting the Horizontal tab position

[Code]

<1B>H <44>H [n]k <00>H

[Range]

1 n 255

 

0 k 32

[Outline]

This command sets the horizontal tab position. n denotes the number of columns from the

 

head of the line to the horizontal tab setting. k denotes the number of horizontal tab positions

 

to be set. The tab position is set at the character width × n from the head of the line. The

 

character width at this time includes the space to the right of the character; it will be double

 

the normal character width if the double width characters are selected.

 

The data <n>k denoting the set position is entered in the ascending order and ends with

 

<00>H. ESC D NUL clears all the set tab positions. HT is ignored after clearing.

[Caution]

If the data <n>k is equal to or smaller than the preceding data <n>k - 1, it is assumed that

 

horizontal tab setting has been completed. If this is the case, the subsequent data will be

 

processed as normal data.

 

Up to 16 horizontal tabs can be set. The data beyond this limit are processed as normal ones.

 

If the data <n>k exceeds the one-line print range, set the "set column position = maximum

 

print columns + 1."

 

Even if the character width is changed after setting the horizontal tab position, the latter will

 

not change.

[Default]

Every 8 characters (9th, 17th, 25th column, and so on)

Page 109
Image 109
Citizen Systems iDP-3551, iDP-3550 user manual ESC D nk NUL