Product specifications
12 – 16
27) Margins—right margin
(a) Code: ESC % R n1 n2 n3 n4
(b) Compatibility: ML
(c) Function:
• Define the logical right-most printing position limitation from the left most-physical
print position in units of 1/120 inch.
(d) Range:
Variable
ASCII Decimal Hexadecimal
n1 0 – 9 48 – 57 30 – 39
n2 0 – 9 48 – 57 30 – 39
n3 0 – 9 48 – 57 30 – 39
n4 0 – 9 48 – 57 30 – 39
• Argument
narrow chassis wide chassis
w/o Left Margin 60 < RM 960 60 < RM 1632
w/ Left Margin LM + 60 RM 960 LM + 60 RM 1632
(e) Out of range:
If any variable is out of range, the command is ignored and any subsequent variables
are interpreted as normal data.
(f) Logical limitation:
• The Right Margin can not be defined within 60/120 inch (1/2 inch) from the Left
Margin or can not be defined to the left of the Left Margin. If this is attempted the
command will be ignored.
(g) Details:
• n1n2n3n4 is a 4 digit ASCII number. Since all digits must be defined, any number
that does not use all digits must be padded with leading zeros.
EXAMPLE: 8 → 0008.
• When n1n2n3n3 = 0000, the Right Margin will be set to the default value.
• Explanation of illegal variable results (n2 = out of range):
ESC % R n1 n2 n3 n4
n3 and n4 interpreted as normal data
command is aborted
• If the right margin is defined after one or more characters have been sent to the
current print line, the right margin will not become valid for the current print line,
but will be valid on the next print line.
<
=
<
=
<
=
<
=
<
=
<
=