Horizontal tab set – Printronix P9000 Series User Manual

Page 143

Advertising
background image

6-45

Programming

Horizontal Tab Set

ASCII

Hex

Decimal

P-Series

N/A

N/A

N/A

Serial

ESC D n

1B 44 n

27 68 n

Purpose

Sets up to 32 horizontal tab positions.

Expression

CHR$(27);”D”;CHR$(n1);...CHR$(n32);CHR$(0);

where

n1 through n32 specify the character column of the tab positions. CHR$(0)

is the sequence terminator.

Comment

Up to 32 different tab positions may be set. The values must be listed in asĆ

cending 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 13.2 inches are also ignored.

Tab positions may be cleared by sending the CHR$(27);D";CHR$(0) seĆ

quence. Powering the printer on/off will initialize 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.

Advertising