ESC/ P Command Reference

Table Of Contents
32
Graphics commands
ESC * Select bit image
[ASCII] ESC * m n1 n2 data
[Decimal] 27 42 m n1 n2 data
[Hexadecimal] 1B 2A m n1 n2 data
[Parameters] m=0, 1, 2, 3, 4, 6, 32, 33, 38, 39, 40, 71, 72 or 73
0n1255, 0n2255
The data contains image data that is n1 + n2 * 256 bytes when m=0, 1, 2, 3, 4 or 6,
(n1 + n2 * 256) * 3 bytes when m=32, 33, 38, 39 or 40,
or (n1 + n2 * 256) * 6 bytes when m=71, 72 or 73.
[Description]
Selects and outputs a bit image according to the value of m.
n1 and n2 indicate the number of dot positions.
n1: The remainder from dividing the number of dot positions by 256
n2: The quotient from dividing the number of dot positions by 256
m
Horizontal dot
density
Vertical dot
density
Horizontal dot
resolution
Vertical dot
resolution
0 60 DPI 60 DPI 6/360 inch 6/360 inch
1 120 DPI 60 DPI 3/360 inch 6/360 inch
2 120 DPI 60 DPI 3/360 inch 6/360 inch
3 240 DPI 60 DPI 2/360 inch 6/360 inch
4 80 DPI 60 DPI 4/360 inch 6/360 inch
6 90 DPI 60 DPI 4/360 inch 6/360 inch
32 60 DPI 180 DPI 6/360 inch 2/360 inch
33 120 DPI 180 DPI 3/360 inch 2/360 inch
38 90 DPI 180 DPI 4/360 inch 2/360 inch
39 180 DPI 180 DPI 2/360 inch 2/360 inch
40 360 DPI 180 DPI 1/360 inch 2/360 inch
71 180 DPI 360 DPI 2/360 inch 1/360 inch
72 360 DPI 360 DPI 1/360 inch 1/360 inch
73 360 DPI 360 DPI 1/360 inch 1/360 inch