Horizontal Tab

Vertical tabs defined within the top and bottom margins are ignored. Horizontal tabs are offset by the left margin and ignored within the right margin.

Horizontal Tab

ASCII Code HT

Hex Code 09

Dec Code 9

Purpose Moves the logical printhead right to the next horizontal tab stop.

Comment Power-on default horizontal tabs are set at every eighth character in the Serial Matrix printer protocol. If there are no horizontal tabs set or the logical printhead is located at the last character column, the code is ignored and no movement occurs.

Horizontal tabs are stored as a relative position; therefore, character pitch changes change horizontal tab positions. See Horizontal Tab Set, below, to set new tab positions.

Horizontal Tab Set

ASCII Code ESC D n1...nk NUL

Hex Code 1B 44 n1...nk 00

Dec Code 27 68 n1...nk 0

Purpose Sets up to 32 horizontal tab positions.

where: n1 through n32 specify the character column of the tab positions. NUL is the sequence terminator.

Comment Up to 32 different tab positions may be set. The values must be listed in ascending order or they are ignored. The physical tab position is the product of n and the current cell width (1/pitch), excluding double wide. Tabs in excess of 32 or those positioned beyond the paper's right margin are also ignored.

Tab positions may be cleared by sending the ESC D NUL sequence. Powering the printer on/off initializes the tabs to every eighth character column. Horizontal tabs are accessed by control code HT.

Example The following example illustrates horizontal tab setting and accessing.

99

Page 99
Image 99
IBM 4400 manual Horizontal Tab Set, Ascii Code HT Hex Code Dec Code