IBM 2xR Printer User Manual


 
The maximum value for the customer receipt station is 576. The maximum
value for the document insert station is 474.
In the customer receipt station, this number is rounded back to a factor of
8.
This command should be sent after “Set print station parameters” on page
43.
Set right margin position
Syntax:
ESC ] n1 n2 or X'1B5D;n1;n2''
Where
n1 Is the high order byte of the dot offset from the beginning of the
print line.
n2 Is the low order byte of the dot offset from the beginning of the
print line.
Default:
n1=0,n2=0
Remarks
In the thermal station, 1 mm = 8 dots.
In the impact station, 1 inch = 150 half-dots (75 dots)
n1, and n2 are hex values - to get the decimal equivalent = (n1 x 256) + n2
If the number exceeds the printable, it is ignored. If the number + the
number set for the left margin does not leave enough room to print a
character, these margins are ignored. Maximum value in thermal CR
station is 576. Maximum value in Impact DI station is 474. In the CR
station, this number is rounded back to a factor of 8.
This command should be sent after “Set print station parameters” on page
43.
Set relative position
Syntax:
ESC <5C>h n1 n2 or X'1B5C;n1;n2'
Where:
n1 The high-order byte of the dot offset from the left margin.
n2 The low-order byte of the dot offset from the left margin.
Default:
n1=0,n2=0
Remarks:
In the thermal station, 1 mm = 8 dots.
In the impact station, 1 in. = 75-dots (150 half-dots).
n1 and n2 are hex values. Convert each to decimal, then use this formula
to get the decimal equivalent: (n2 × 256) + n1
To move the position to the left, use a negative number.
Example: To move N dots to the left 65536 N.
Chapter 2. Communication parameters 47