Lexmark 249X Printer User Manual


 
Section 3: IBM Emulation Mode Printer Commands
54
Set Horizontal Margins
This command sets the left and right margins.
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.
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.
Format ESC X n1 n2
Decimal 27 88 n1 n2
Hex 1B 58 n1 n2
Format ESC d increment
Decimal 27 100 Ln Hn
Hex 1B 64 Ln Hn