![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/b/91/b91ad44d-4f5f-4151-8275-16897c40509f/b91ad44d-4f5f-4151-8275-16897c40509f-bgda.png)
User's Guide
D-40 Code Sets
Table D-6. Epson and IBM Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Text Functions––continued
Automatic underscoring ... ESC - n 1B 2D n 27 45 n This sequence starts and ends automatic underscoring of
Start ................................ ESC - 1 1B 2D 31 27 45 49 characters and spaces.
End ................................. ESC - 0 1B 2D 30 27 45 48
Slant printing (italics) ....... ESC ESC S n 1B 1B 53 n 27 27 83 n This sequence controls slant printing, wherein characters
10-degree slant ............... ESC ESC S 1 1B 1B 53 31 27 27 83 49 slant forward to simulate italics. The degree can be
20-degree slant ............... ESC ESC S 2 1B 1B 53 32 27 27 83 50 10, 20 or 30 degrees.
20-degree slant (alternate) ESC 4 1B 34 27 52
30-degree slant ............... ESC ESC S 3 1B 1B 53 33 27 27 83 51 Note: You can turn slant on and off as many times
End ................................. ESC ESC S 0 1B 1B 53 30 27 27 83 48 as you like on a line, but you can use only one slant
End ................................. ESC 5 1B 35 27 53 setting. If you attempt to use more than one slant setting
on a single line, only the last slant setting is used. For
example, if you select 10-degree slant for one word and
20-degree slant for the next word on the same line, both
words will print at 20-degree slant.
Note: The ESC 4 and ESC 5 sequences are not supported
when the IBM XL24 emulation is active.
Super / subscripting These sequences start/end automatic superscripting and
Subscripting ................... ESC S 1 1B 53 31 27 83 49 subscripting of characters. Both superscript and subscript
Subscripting (alternate) .. ESC ESC V 1 1B 1B 56 31 27 27 86 49 characters are half the normal height. Superscript charac-
Superscripting ................ ESC S 0 1B 53 30 27 83 48 ters print above the normal print line; subscript characters
Superscripting (alternate) ESC ESC V 2 1B 1B 56 32 27 27 86 50 print below the normal print line.
End ................................. ESC T 1B 54 27 84
End (alternate) ................ ESC ESC V 0 1B 1B 56 30 27 27 86 48
Double-high / double-wide ESC [ @ EOT 1B 5B 40 04 27 91 64 4 This sequence starts and ends double-high and/or double-
printing NUL NUL NUL 00 00 00 n1 n2 0 0 0 n1 n2 wide printing. In double-high printing, characters print
n1 n2 twice their normal height. In double-wide printing,
charac-ters print twice their normal width. The value of
variable n1 determines whether double-high printing starts
or ends and whether line spacing changes to accommodate
double-high characters:
Variable n1
Double-High Line Spacing ASCII Hex Dec
No change No change NUL 00 0
End No change SOH 01 1
Start No change STX 02 2
No change 6 lines/inch DLE 10 16
End 6 lines/inch DC1 11 17
Start 6 lines/inch DC2 12 18
No change 3 lines/inch SP 20 32
End 3 lines/inch ! 21 33
Start 3 lines/inch " 22 34
User's Guide
D-40 Code Sets
Table D-6. Epson and IBM Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Text Functions––continued
Automatic underscoring ... ESC - n 1B 2D n 27 45 n This sequence starts and ends automatic underscoring of
Start ................................ ESC - 1 1B 2D 31 27 45 49 characters and spaces.
End ................................. ESC - 0 1B 2D 30 27 45 48
Slant printing (italics) ....... ESC ESC S n 1B 1B 53 n 27 27 83 n This sequence controls slant printing, wherein characters
10-degree slant ............... ESC ESC S 1 1B 1B 53 31 27 27 83 49 slant forward to simulate italics. The degree can be
20-degree slant ............... ESC ESC S 2 1B 1B 53 32 27 27 83 50 10, 20 or 30 degrees.
20-degree slant (alternate) ESC 4 1B 34 27 52
30-degree slant ............... ESC ESC S 3 1B 1B 53 33 27 27 83 51 Note: You can turn slant on and off as many times
End ................................. ESC ESC S 0 1B 1B 53 30 27 27 83 48 as you like on a line, but you can use only one slant
End ................................. ESC 5 1B 35 27 53 setting. If you attempt to use more than one slant setting
on a single line, only the last slant setting is used. For
example, if you select 10-degree slant for one word and
20-degree slant for the next word on the same line, both
words will print at 20-degree slant.
Note: The ESC 4 and ESC 5 sequences are not supported
when the IBM XL24 emulation is active.
Super / subscripting These sequences start/end automatic superscripting and
Subscripting ................... ESC S 1 1B 53 31 27 83 49 subscripting of characters. Both superscript and subscript
Subscripting (alternate) .. ESC ESC V 1 1B 1B 56 31 27 27 86 49 characters are half the normal height. Superscript charac-
Superscripting ................ ESC S 0 1B 53 30 27 83 48 ters print above the normal print line; subscript characters
Superscripting (alternate) ESC ESC V 2 1B 1B 56 32 27 27 86 50 print below the normal print line.
End ................................. ESC T 1B 54 27 84
End (alternate) ................ ESC ESC V 0 1B 1B 56 30 27 27 86 48
Double-high / double-wide ESC [ @ EOT 1B 5B 40 04 27 91 64 4 This sequence starts and ends double-high and/or double-
printing NUL NUL NUL 00 00 00 n1 n2 0 0 0 n1 n2 wide printing. In double-high printing, characters print
n1 n2 twice their normal height. In double-wide printing,
charac-ters print twice their normal width. The value of
variable n1 determines whether double-high printing starts
or ends and whether line spacing changes to accommodate
double-high characters:
Variable n1
Double-High Line Spacing ASCII Hex Dec
No change No change NUL 00 0
End No change SOH 01 1
Start No change STX 02 2
No change 6 lines/inch DLE 10 16
End 6 lines/inch DC1 11 17
Start 6 lines/inch DC2 12 18
No change 3 lines/inch SP 20 32
End 3 lines/inch ! 21 33
Start 3 lines/inch " 22 34