Horizontal Tab Execute

Horizontal Tab Execute

ASCII Code HT

Hex Code 09

Dec Code 9

Purpose Moves the logical print head to the next horizontal tab stop.

Comment Power-on default horizontal tabs are set at every eighth character at the current character spacing. Tab positions are not affected by a change of font or character width. Blank spaces between HT stops are underlined in underline mode.

Horizontal Tab Set/Release

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. ESC D NUL clears all tabs.

Comment The values of n must be listed in ascending order or they are ignored. Tabs greater than 32 or those positioned beyond the right margin are ignored. The physical tab position is the product of n and the current cell width (1/pitch), excluding double wide.

After the tabs are set, HT moves the logical print head to the next tab stop. Sending ESC @ initializes the printer and resets the tabs to every eighth character column (which is the default). In proportional mode, the size of 10 cpi characters determines tab positions.

Example The following example illustrates how to set horizontal tabs.

175

Page 175
Image 175
IBM 4400 manual Horizontal Tab Execute, Horizontal Tab Set/Release