Chapter 10: IBM - Standard Functions
10-6
Underline
Print attributes
Function Dec. Hex. ASCII
Start emphasized 27 69 1B 45 ESC E
Stop emphasized 27 70 1B 46 ESC F
Start enhanced 27 71 1B 47 ESC G
Stop enhanced 27 72 1B 48 ESC H
With emphasized, the dot patterns of the characters are printed
horizontally offset with enhanced, they are vertically offset. Em-
phasized and enhanced are not available in near-letter quality.
Emphasized and enhanced can be combined to particularly high-
light selected text.
Function Dec. Hex. ASCII
Start underline 27 45 49 1B 2D 31 ESC - 1
Stop underline 27 45 48 1B 2D 30 ESC - 0
This command causes all printable characters including spaces to
be underlined. Graphics and spaces skipped by a horizontal tabula-
tor are not underlined.
Function Dec. Hex. ASCII
Start overscoring 27 95 49 1B 5F 31 ESC _ 1
Stop overscoring 27 95 48 1B 5F 30 ESC _ 0
This command causes all printable characters including spaces to
be overscored. Graphics and spaces skipped by a horizontal tabula-
tor are not overscored.
Function Dec. Hex. ASCII
Start superscript 27 83 48 1B 53 30 ESC S 0
Start subscript 27 83 49 1B 53 31 ESC S 1
Stop super/subscript 27 84 1B 54 ESC T
Overscoring
Superscript /
Subscript
Emphasized /
enhanced