User's Guide
D-34 Code Sets
Table D-6. Epson and IBM Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Boundaries, Tabs and Page Formatting––continued
Set right print boundary ... ESC Q n 1B 51 n 27 81 n This sequence cancels printing of the current line, resets
the default tabs, and sets the right print boundary
anywhere on the page. When printing reaches this
boundary, the printer performs a carriage return/line feed
and continues printing. The value of variable n defines
where to set the right print boundary relative to the true
leftmost print position and with respect to the current
character spacing. For example, to set the right print
boundary ten inches to the right of the true leftmost print
position with character spacing at 10 cpi, the correct
sequence is ESC Q d. If the sequence specifies a
boundary that is at or to the left of the left print boundary,
the printer ignores this sequence. If you set a right print
boundary with proportional-spacing selected, the printer
uses 12 cpi to interpret the n variable.
Note: This sequence is not supported when the IBM
XL24 emulation is active.
Set left and right ................ ESC X n1 n2 1B 58 n1 n2 27 88 n1 n2 This sequence cancels printing of the current line, resets
print boundaries the default tabs, and sets the left and right print boundaries
on the page. All subsequent horizontal move commands,
such as carriage returns and tabs, are relative to the new
left print boundary. All subsequent line wrapping is
relative to the new right print boundary. The values of
variables n1 and n2 define where to set the left and right
print boundaries relative to the true leftmost print position
and with respect to the current character spacing.
Variable n1 defines the left print boundary; variable n2
defines the right print boundary. For example, to set the
left print boundary one inch from the leftmost print
position and the right print boundary ten inches from the
leftmost print position at 10 cpi, the correct sequence is
ESC X LF d.
If the sequence specifies a left print boundary that is at or
to the right of the right print boundary, the printer ignores
the sequence. If the sequence specifies a right print
boundary that is to the right of the righmost print position,
the printer sets the right print boundary at the rightmost
print position. If n1 is NUL, the printer does not change
the left print boundary; or, if n2 is NUL, the printer does
not change the right print boundary. If you set print
boundaries with proportional-spacing selected, the printer
uses 12 cpi to interpret the n1 and n2 variables.
User's Guide
D-34 Code Sets
Table D-6. Epson and IBM Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Boundaries, Tabs and Page Formatting––continued
Set right print boundary ... ESC Q n 1B 51 n 27 81 n This sequence cancels printing of the current line, resets
the default tabs, and sets the right print boundary
anywhere on the page. When printing reaches this
boundary, the printer performs a carriage return/line feed
and continues printing. The value of variable n defines
where to set the right print boundary relative to the true
leftmost print position and with respect to the current
character spacing. For example, to set the right print
boundary ten inches to the right of the true leftmost print
position with character spacing at 10 cpi, the correct
sequence is ESC Q d. If the sequence specifies a
boundary that is at or to the left of the left print boundary,
the printer ignores this sequence. If you set a right print
boundary with proportional-spacing selected, the printer
uses 12 cpi to interpret the n variable.
Note: This sequence is not supported when the IBM
XL24 emulation is active.
Set left and right ................ ESC X n1 n2 1B 58 n1 n2 27 88 n1 n2 This sequence cancels printing of the current line, resets
print boundaries the default tabs, and sets the left and right print boundaries
on the page. All subsequent horizontal move commands,
such as carriage returns and tabs, are relative to the new
left print boundary. All subsequent line wrapping is
relative to the new right print boundary. The values of
variables n1 and n2 define where to set the left and right
print boundaries relative to the true leftmost print position
and with respect to the current character spacing.
Variable n1 defines the left print boundary; variable n2
defines the right print boundary. For example, to set the
left print boundary one inch from the leftmost print
position and the right print boundary ten inches from the
leftmost print position at 10 cpi, the correct sequence is
ESC X LF d.
If the sequence specifies a left print boundary that is at or
to the right of the right print boundary, the printer ignores
the sequence. If the sequence specifies a right print
boundary that is to the right of the righmost print position,
the printer sets the right print boundary at the rightmost
print position. If n1 is NUL, the printer does not change
the left print boundary; or, if n2 is NUL, the printer does
not change the right print boundary. If you set print
boundaries with proportional-spacing selected, the printer
uses 12 cpi to interpret the n1 and n2 variables.