Printronix P3000 Series Printer User Manual


 
Programming644
Horizontal Tab Set
ASCII Hex Decimal
PSeries 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 You
can set up to 32 dif
ferent tab positions. 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 13.2 inches are also ignored.
Clear
the tab positions by sending the
CHR$(27);D;CHR$(0) sequence. Power
-
ing
the printer on/of
f initializes the tabs to every eighth character column. Horizon
-
tal
tabs are accessed by control code HT
.
Example
The following example illustrates horizontal tab setting and accessing.