Chapter
2
Configuring The LQ-1600K Emulation With Control Codes
Horizontal Tab Set/Release
ASCII Code ESC D n1...nk NUL
Hex Code
Dec Code
Purpose
Expression CHR$(27);"D";CHR$( n1 );...CHR$( n32 );CHR$(0);
Comment
Example
48
1B 44 n1...nk 00
27 68 n1...nk 0
Sets up to 32 horizontal tab positions.
n = 1-255; k = 1-32
Where:
n1 through n32 specify the character column of the tab
positions. NUL is the sequence terminator. ESC D NUL clears
all tabs.
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 tabs are set, HT moves the simulated 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.
The following example illustrates how to set horizontal tabs.