Lexmark 249X Printer User Manual


 
85
Section 5: OKI Microline Emulation Mode Printer Commands
5 Add the values selected in steps 2 and 4.
6 Add 64 to the total.
Example: For double speed, 8-bit graphics, calculate the value of n2 as follows:
n2=8+16+64=88
Horizontal Movement
Name Dec Hex Description
BS 8 08 Backspace
CR 13 0D Carriage Return.
ESC % C 27 37 67 n1
n2 n3
1B 25 43 n1,
n2, n3
Set Left Margin
If the value for the left margin is less than 3 digits,
use zeros for the first digit(s). Maximum margin
value is 899 (2480 printer model) or 999 (2481
printer model). Units are set at 1/120".
ESC % R 27 37 82 n1
n2 n3 n4
1B 25 52 n1
n2 n3 n4
Set Right Margin
The right margin must be at least 60 units greater
than the left margin. If the value for the right
margin is less than 4 digits, use zeros for the first
digit(s). Maximum margin value is 0960 (2480
printer model) or 1632 (2481 printer model). Units
are set at 1/120".
ESC HT 9 09 Execute Horizontal Tab
Advances the printhead 8 columns to the right
before printing the next character.
ESC HT ...
CR
27 9 x1 y1
z1...x16 y16
z16 13
1B 09 x1 y1
z1...x16 y16
z16 0D
Set Horizontal Tabs by Characters
Sets tab stops for up to 16 positions. The values for
x, y and z must be entered as three-digit ASCII
numbers (use leading zeros if necessary),
separated by commas, and in ascending order.
Maximum values are as follows:
Pitch
2480
2481
10 cpi 080 136
12 cpi 096 163
15 cpi 120 204
17.1 cpi 137 233
20 cpi 160 272