Esc p data – Compuprint 10200 Programmer Manual User Manual
Page 144

Commands
140
ESC P data
Enter dot graphics mode (Device Control String).
ASCII Code
ESC P data
Hexadecimal Value
1B 50 data
Decimal Value
27 80
This command causes the dot graphics mode to be enabled. The density is selected according to
the GRM command.
The line spacing value automatically changes if 72-dpi resolution (6-bit mode) is active.
The line spacing value for 180-dpi resolution (24-bit mode) must be selected prior to entering
graphics mode.
In 6-bit mode, only 6 bits of a data byte are required to determine which wires are fired.
Therefore, only one byte is required for each graphics dot column.
In 24-bit mode, 24 bits of four data bytes are required to determine which wires are fired. Only 6
bits of each byte are used. Therefore four bytes are required for each graphics dot column.
6-bit mapping
6 BITS IN 1 BYTE
PRINT HEAD WIRE
DATA BIT
1 2 & 3
0
3 4 & 5
1
6 7 & 8
2
8 9 & 10
3
11 12 & 13
4
13 14 & 15
5
Since bits 6 & 7 are ignored, wires 16-24 are not used. The state (0 or 1) of bits 6 and 7 must be
conditioned so as to make the entire byte fall within the range 20H through 7EH.