Horizontal Tab

Horizontal tabs enable you to put text at a precise column in a print line. Up to 28 stops may be set at a time, spanning character columns 1–216.

Loading a Horizontal Tab Table

You may design and load your own horizontal tab table and tab the print head with CHR$ (9), the decimal value of ASCII control character HT. To make use of the custom Horizontal Tab feature you must first load a tab table and then make calls to the table with CHR$ (9).

The proper syntax for loading the tab table is:

LPRINT ESC “D”CHR$(N2);..CHR$(128) (or CHR$(0))

where:

ESC “D”

=

load HT table

 

 

 

CHR$(n)

=

decimal

numbers (1

to

216)

indicating tab

 

 

stops

at designated

character

column number.

 

 

(See “Hard Copy Considerations” in this chapter.)

CHR$(0)

=

load HT terminator

 

 

 

or CHR$(128)

 

 

 

 

 

 

NOTE: CHR$(0) and CHR$(128) are not allowed as tab stops.

Calling a Horizontal Tab Table

After the horizontal tab table has been loaded, you may use the table by

sending CHR$ (9) to call each tab.

Example: LPRINT...DATA...CHR$ (9)DATA

7–36

Programming

Page 160
Image 160
Printronix MVP Series user manual Loading a Horizontal Tab Table, Calling a Horizontal Tab Table