Lexmark Dot Matrix Technical Reference - Page 54
Set Horizontal Margins, Move Current Print Position
View all Lexmark Dot Matrix manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 54 highlights
Set Horizontal Margins This command sets the left and right margins. Format ESC X n1 n2 Decimal 27 88 n1 n2 Hex 1B 58 n1 n2 Usage Notes • Use n1 to select the left margin position. • Use n2 to select the right margin position. • Margins are specified in the character positions at the current pitchand are stored in absolute displacement from the left edge of the paper. • The values for n1 and n2 must be between 0 and 255. If the value is set at 0, the margin is left unchanged. Move Current Print Position This command moves the current print position to the right in increments of 1/120 inch. Format ESC d increment Decimal 27 100 Ln Hn Hex 1B 64 Ln Hn Usage Notes To move less than 256 increments: • Hn is 0. • Ln is the increment you want to move. To move more than 256 increments: • Divide the number of increments you want to move by 256. - The result is Hn. - The remainder is Ln. 54 Section 3: IBM Emulation Mode Printer Commands