beautypg.com

Esc d [ n ] k null – CITIZEN CT-S300 User Manual

Page 38

background image

— 33 —

ESC D [ n ] k NULL

[Function]

Setting horizontal tab position

[Code]

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

[Range]

1 n 255

0 k 32

[Outline]

Specifying a horizontal tab position.

• “n” indicates the number of columns from the beginning to the horizontal tab

position. Note, however, that “n = set position – 1”. For example, to set the position
at 9th column, n = 8 is to be specified.

• “k” denotes the number of horizontal tab positions you want to set.

• The tab position is set at a position where it is “character width

× n” from the

beginning of a line. The character width, at this time, includes the space on the
right. In double width characters, it is made double the ordinary case.

• Tab positions that can be specified are maximum 32. Specifying tab positions

exceeding this limit is ignored.

k, which denotes a setting position, is input in the increasing order and ends at

<00> H.

• ESC D clears all the set tab positions. Following clearing, the horizontal

tab command is ignored.

[Caution]

• When the data, k, is equal to or smaller than its preceding data, k-1, it is

assumed that tab setting is finished. If this is the case, the next data onward will be
processed as normal data.

• When the data, k, exceeds a 1-line print area, set the horizontal tab position, as

“Set column position = Maximum print columns + 1”.

• The horizontal tab position does not change even if the character width is altered

after setting the horizontal tab position.

[Default]

• At the selection of font A, tabs are set every 8 characters (at 9th, 17th, 25th, ...) with

right space amount of a character set at 0 and horizontal enlargement rate of a
character set at 1.

[See Also]

HT

[Sample Program]

Refer to Sample Program and Print Results for HT.