Underline
ASCII Code ESC - n
Hex Code
1B 2D n
27 45 n
Dec Code
Purpose
Enables or disables automatic underlining of all characters.
Discussion When automatic underline is enabled, all characters, including
spaces, are underlined until disabled.
n may range from 0 through 255 (hex 01 through hex FF).
where
n = 1, 3, 5 (any odd value) selects underlining.
n = 0, 2, 4 (any even value) cancels underlining.
Example
The following sample illustrates automatic underlining and
underlining reset.
Unidirectional Printing
ASCII Code ESC U n
1B 55 n
Hex Code
27 85 n
Dec Code
Purpose
Sets or cancels unidirectional printing. While this feature reduces
print speed by 1/2, the increased print quality will improve the
readability of barcodes and graphics.
Discussion This code sets or cancels unidirectional printing, as follows:
n may range from 0 through 255 (hex 00 through hex FF).
where
n = 1, 3, 5 (any odd value) selects unidirectional text printing.
n = 0, 2, 4 (any even value) cancels unidirectional text printing.
Underline
145