Lexmark Dot Matrix Technical Reference - Page 85
Horizontal Movement, Example
View all Lexmark Dot Matrix manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 85 highlights
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 1B 25 43 n1, Set Left Margin n2 n3 n2, n3 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 1B 25 52 n1 n2 n3 n4 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 ... 27 9 x1 y1 1B 09 x1 y1 Set Horizontal Tabs by Characters CR z1...x16 y16 z1...x16 y16 Sets tab stops for up to 16 positions. The values for z16 13 z16 0D 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 85 Section 5: OKI Microline Emulation Mode Printer Commands