User`s manual

8–51IBM Proprinter Emulation
Underline
ASCII Code ESC – n
Hex Code 1B 2D n
Dec Code 27 45 n
Purpose Enables or disables automatic underlining of all characters.
Discussion When automatic underline is enabled, all characters, including spaces are
underlined until disabled. Enable/disable underline as follows:
n = odd enables automatic underlining (hex 00 or hex FF).
n = even disables automatic underlining (hex 01 or hex FF).
An underline command can occur at any place in the datastream and is acted
upon immediately. Use caution when combining this command with other
print attributes: arbitrary combinations might yield unexpected results.
Example The following sample program illustrates automatic underlining and
underlining reset.