Epson 8900 Series Printer User Manual


 
Character Sets and Global Commands 3-24
Defining Raster Graphics
Escape sequence: ESC DLE G d1 d2 n1 n2 data
Hexadecimal: 1B 10 47 d1 d2 n1 n2 data
This command defines the dots-per-inch (DPI) density, the byte
count of bit-image data, and bit-image data of those emulations that
currently support raster graphics.
The variable d1 d2 is DPI density, where d1 is LSB and d2 is MSB.
The variable nl n2 is the byte count, where n1 is the LSB and n2 is
the MSB. And data is bit-image data. All variables can range from 0
through 255.
DPI density defines the horizontal dots per inch at which the bit
image data is printed. Valid DPI values are 60, 72, 80, 90, 100, 120,
135, 144, 150, 180, 200, 240, and 300 dots per inch. Any other value
causes an escape sequence error. The DPI density format is d1 + (d2
* 256) = DPI.
The byte count variable indicates the number of bit-image data bytes
to follow. The byte count format is n1 + (n2 * 256) = byte count.
A bit-image data byte defines a column of 8-pin raster graphics. The
bits of each byte have valid values of 1, 2, 4, 8, 16, 32, 64, and 128.
In a vertical column of dots, the dots are arranged so that the MSB
(bit value = 128) is at the top, and the LSB (bit value = 1) is at the
bottom.