Underline Mode ON (SGR)

Underline Double Mode

Underline Mode OFF

CSI 4 m CSI 21 m CSI 24 m

Data Structure ASCII

CSI

"4"

"m"

 

[A] underline mode ON

hex.

9B

34

6D

 

 

 

dec.

155

52

109

 

 

 

ASCII

CSI

"2"

"1"

"m"

[A] underline double mode

 

hex.

9B

32

31

6D

 

 

dec.

155

50

49

109

 

 

ASCII

CSI

"2"

"4"

"m"

[A] underline mode OFF

 

hex.

9B

32

34

6D

 

 

dec.

155

50

52

109

 

 

Description All printed characters including spaces are automatically unerlined. Spaces between tab codes (HT) are underlined.

The sequence CSI 0 m resets all CSI...m-sequences!

A maximum of 16 CSI...m -sequences can be joined in one sequence, e.g. as follows:

CSI n1;n2;nx m

Example

10 REM

underline mode

 

20

LPRINT

"the most ";

 

30

LPRINT

CHR$(27);"[4m";

 

40

LPRINT

"important";

 

50

LPRINT

CHR$(27);"[24m";

 

60

LPRINT

" word must be underlined."

 

70

END

 

Character Styling 39

Page 275
Image 275
Tally Genicom Matrix Printer manual CSI 4 m CSI 21 m CSI 24 m, CSI n1n2nx m Example