ESC/ P Command Reference

Table Of Contents
21
DC2 Cancel compressed characters
[ASCII] DC2
[Decimal] 18
[Hexadecimal] 12
[Parameters] None
[Description]
Cancels compressed characters specified with SI.
ESC - Apply/cancel underlining
[ASCII] ESC - n
[Decimal] 27 45 n
[Hexadecimal] 1B 2D n
[Parameters] n=0 and 1 or 48 and 49
[Description]
Applies or cancels underlining.
If n=1, underlining is applied.
If n=0, underlining is cancelled.
The underlining specified by this code is a continuous line.
Spaces between characters and words are also underlined.
[Example]
Code
ABC ESC - 1 ABC ESC - 0 ABC FF
Print result
ABCABC
ABC