A – 4
Function ASCII Decimal Hexadecimal Compat.
Begin low speed single density ESC K n1 n2 27 75 n1 n2 1B 4B n1 n2 E P A
graphics* (graphics data) (graphics data) (graphics data)
n1, n2 = 0 to 255
Begin quadruple density graphics* ESC Z n1 n2 27 90 n1 n2 1B 5A n1 n2 E P A
n1, n2 = 0 to 255 (graphics data) (graphics data) (graphics data)
Reassign graphics codes* ESC ? n m 27 63 n m 1B 3F n m E
n = “K”, “L”, “Y”, or “Z”
m = 0, 1, 2, 3, 4, 6, 32, 33, 36, 38, 39, 40
Begin hex density graphics* FS Z n1 n2 28 90 n1 n2 1C 5A n1 n2 E
n1, n2 = 0 to 255 (graphics data) (graphics data) (graphics data)
Horizontal Dot Position
Absolute horizontal dot position ESC $ n1 n2 27 36 n1 n2 1B 24 n1 n2 E
n1 = 0 to 255 n2 = 0 to 3
Relative horizontal dot position ESC \ n1 n2 27 92 n1 n2 1B 5C n1 n2 E
n1, n2 = 0 to 255
Relative horizontal dot position ESC d n1 n2 27 100 n1 n2 1B 64 n1 n2 P A
n1, n2 = 0 to 255
Space Backwards ESC e n1 n2 27 101 n1 n2 1B 65 n1 n2 P A
Absolute/relative horizontal position ESC DLE @ 27 16 64 1B 10 40 E P A
n1 m1 m2 p1 n1 m1 m2 p1 n1 m1 m2 p1
p2 p3 p4 p2 p3 p4 p2 p3 p4
Line Feed
Fine line feed ESC J n 27 74 n 1B 4A n E P A
n = 0 to 255; Epson LQ, XL24E
AGM: line feed
is
n/
180
"
IBM X24E/XL24E line feed is n/216"
Fine line feed (
n/
360
"
) ESC ] n 27 93 n 1B 5D n E
n = 0 to 255
Fine line feed (
n/
360
"
) ESC % 4 n 27 37 52 n 1B 25 34 n P A
n = 0 to 255
Line feed LF 10 0A E P A
Reverse
n/
180
"
line feed ESC j n 27 106 n 1B 6A n E
n = 0 to 255
Reverse line feed ESC ] 17 93 1B 5D P A
Line feed direction backwards FS R 28 82 1C 52 E
Line feed direction forwards FS F 28 70 1C 46 E
Line Spacing
Begin
1/
6
"
line spacing ESC 2 27 50 1B 32 E
Begin
1/
8
"
line spacing ESC 0 27 48 1B 30 E P A
Begin
7/
72
"
line spacing ESC 1 27 49 1B 31 P A
Begin fine line spacing ESC 3 n 27 51 n 1B 33 n E P A
Epson, IBM X24E/XL24E AGM:
n = 0 to 255 spacing is
n/
180
"
IBM X 24/XL24:
n = 1 to 255 spacing is
n/
216
"
* For detailed technical information regarding these commands
please contact your local Oki dealer.