beautypg.com

Printronix MVP Series User Manual

Page 165

background image

Programming

7–41

Underline — Methods 1 & 2

The printer will automatically generate the underline as required by the

particular character line transmitted. Leading and trailing spaces are not

underlined. Use the following guidelines and see Figure 7–6:

Underlines start and stop on the normal character boundary and are

permissible at 6 or 8 lpi.

The ESC sequences can be repeated multiple times within a line and

can, by themselves, constitute a printable line comprised of only

underlines (assuming configuration 28.1 is set).

Spaces will be underlined as normal printable character, if they are

preceded by an ESC – 1 sequence. Any incorrect sequence will be

ignored.

The Underline mode set by ESC – n is not cleared by performing a print

or paper movement, but stays in effect until the ESC–0 sequence is

received or the printer is powered off.

Method 1 (On/Off)

On

Underlines are turned on by the control sequence ESC – 1 (or hex string 1B,

2D, 01) where the character 1 in the ESC sequence is the second character

(SOH) in the ASCII character chart (see Appendix A).

NOTE: Hex 31 can replace hex 01.

Off

Underlines are turned off by the control sequence ESC – 0 (or hex string 1B,

2D, 00) where the character 0 in the ESC sequence is the first character

(NUL) in the ASCII character chart (see Appendix A).

NOTE: Hex 30 can replace hex 01.