Lexmark 249X Printer User Manual


 
Section 3: IBM Emulation Mode Printer Commands
50
Mode and Horizontal Density (249x Only)
For 249x printers only.
Use this command to select the mode and horizontal density for dot matrix
graphics.
Usage Notes
Ln and Hn identify the number of bytes in mode and data.
To print less than 256 bytes:
Hn is 0.
Ln is the number of bytes you want to print, plus 1 for the mode byte.
To print more than 256 bytes:
Divide the number of bytes you want to print (plus 1 mode byte) by
256.
The result is Hn.
The remainder is Ln.
mode is the vertical wire count and the horizontal density in dots per inch.
Select mode from the following table.
2 4
14, 15
1 2
16, 17
If dots 1 and 0 print, wire 18 is also used.
0 1
19, 20
Format ESC [ g Ln Hn mode data
Decimal 27 91 103 Ln Hn mode data
Hex 1B 5B 67 Ln Hn mode data
Mode
Horizontal Density WiresDec
Hex
0 00 60 8
1 01 120 8
2 02 120 8
3 03 240 8
Bit Number Binary Value Print Wires