Master Print Select - InfoPrint LQ-1600K Programmer's Reference Manual

6500 line matrix printers
Table of Contents

Advertisement

Chapter
2
Configuring The LQ-1600K Emulation With Control Codes

Master Print Select

ASCII Code ESC ! n
Hex Code
Dec Code
Purpose
Bit No.
Comment
58
1B 21 n
27 33 n
Selects or changes print attributes in a single command.
Where:
n = an 8-bit number with the bits set to specify print attributes,
as shown in Table 5. (0 < = n < = 255)
Table 5. Master Print Select Bit Values
Bit = 0
0
10 cpi
1
Monospaced
2
Normal
3
Normal
4
Normal
5
Normal
6
Normal
7
Normal
For example, to specify 10 cpi, proportional spacing, and italics,
n = 0 1 0 0 0 0 1 0
Where:
bit 0 = 0 (10 cpi)
bit 1 = 1 (proportional)
bit 2, 3, 4, 5 = 0 (normal)
bit 6 = 1 (italic)
bit 7 = 0 (normal)
n = a binary number (0 1 0 0 0 0 1 0), which equals hex 42.
The hex command sequence is 1B 21 42.
Emphasized is substituted for double strike.
Bit = 1
12 cpi
Proportional
Condensed
Emphasized
*Double Strike
Double Wide
Italic
Underlined

Advertisement

Table of Contents
loading

Table of Contents