ITEM SYMBOL Hexadecimal Decimal FUNCTION
[41] ESC ? n m [1B,3F,n,m] H Re-assign graphic type for ESC K, ESC L,
[27,63,n,m] D ESC Y, and ESC Z commands.
n: specifies the former graphic type assigned
by "K", "L", "Y", or "Z"
m: specifies the new graphic type in table below
Note (*): Horizontal adjacent dots can not be printed.
[42] ESC @ [1B,40] H [27,64] D Initializes printer.
[43] ESC A n [1B,41,n] H [27,65,n] D Sets line spacing to n/60" (0≤n≤127).
[44] ESC B n1 n2... [1B,42,n1,n2,...n16,00] H Sets vertical tab positions beginning from n1 and end
n16 NUL [27,66,n1,n2,...n16,0] D with NUL [00]H. n1=1 is at the second line from TOF.
Downloaded data and communication buffer are not
cleared. The current print line becomes the top of the
form.
[45] ESC C n [1B,43,n] H [27,67,n] D Sets page length in line unit (1≤n≤127).
The current print line becomes TOF (top of form).
[46] ESC C NUL n [1B,43,00,n] H [27,67,0,n] D Sets page length in inch unit (1≤n≤22).
The current print line becomes TOF (top of form).
[47] ESC D n1 [1B,44,n1,n2,...n32,00] H Sets horizontal tab position (1≤n≤255).
n2...n32 NUL [27,68,n1,n2,...n32,0] D n indicates the number of spaces from the left margin
with the character width at the command execution.
n1=1 is at the second column from the left margin.
[48] ESC E [1B,45] H [27,69] D Sets emphasized character mode.
[49] ESC F [1B,46] H [27,70] D Cancels emphasized character mode.
[50] ESC G [1B,47] H [27,71] D Sets double strike character mode.
[51] ESC H [1B,48]H [27,72] D Cancels double strike character mode.
[52] ESC J n [1B,4A,n] H [27,74,n] D n/180" linefeeds after printing (0≤n≤255).
[53] ESC K n1 n2 [1B,4B,n1,n2,data] H Prints the 8-pin Standard-density graphic mode.
data [27,75,n1,n2,data] D The total number of dots in the data is set by
n1+n2
x
256.
[54] ESC L n1 n2 [1B,4C,n1,n2,data] H Prints the 8-pin Double-density graphic mode.
data [27,76,n1,n2,data] D The total number of dots in the data is set by
n1+n2
x
256.
[55] ESC M [1B,4D] H [27,77] D Selects elite (12cpi) mode.
The condensed pica character (17.1 cpi) also becomes
the condensed elite character (20 cpi).
[56] ESC N n [1B,4E,n] H [27,78,n] D Sets skip over perforation (1≤n≤127).
n specifies the number of lines to be skipped at the
end of a page.
For example: If the line spacing is 1/6 inch and the page length is 66 lines,
an ESC N 6 command causes the printer to print 60 lines, then skip 6 lines.
The space to be skipped is 1 inch (1/6 inch
x
6).
m Graphic Type Number Maximum Horizontal
of Pins Columns Density
0 Standard-density 8 816 60
1 Double-density 8 1632 120
2 Double-speed double-density* 8 1632 120
3 Quadruple-density * 8 3264 240
4 CRT I 8 1088 80
6 CRT II 8 1224 90
32 Standard-density 24 816 60
33 Double-density 24 1632 120
38 CRT III 24 1224 90
39 Triple-density 24 2448 180
40 Hex-density* 24 4896 360
112
B. Control code summary (Epson)