5525B/31/32 Line Matrix Printer LinePrinter Plus Programmer's Reference

136
Chapter 4 Configuring the Epson FX-1050 Emulation with Control Codes
Set Intercharacter Spacing in 1/120 Inch
ASCII Code ESC SP
n
Hex Code 1B 20
n
Dec Code 27 32
n
Purpose Permits character spacing adjustments in 1/120 inch increments.
where
n
= 0 through 127 (hex 00 through 7F).
Set Margin, Left
ASCII Code ESC l
n
(lowercase “L”)
Hex Code 1B 6C
n
Dec Code 27 108
n
where
n
= number of columns from the left edge of the physical page to
the beginning of the print line;
n
= 1 through 232 (hex 00 through hex E8)
Purpose Sets the left margin to
n
columns in the current font.
Discussion Be sure to use the alphabetic lowercase “L” (as in left) rather
than the numeral “1” (one) for this command. The number of
inches of margin does not vary if the font, character width, or
horizontal dot density changes. This command automatically
clears and resets horizontal tabs to every eight characters. The
smallest possible space between the left and right margins is the
width of one double-wide, 10 cpi character. If a margin control
code violates this minimum distance, it is ignored. Settings in
proportional mode are treated as 10 CPI.
Set Margin, Right
ASCII Code ESC Q
n
Hex Code 1B 51
n
Dec Code 27 81
n
where
n
= number of columns from the left edge of the physical page to
the end of the print line;
n
= 1 through 232 (hex 00 through hex E8)
Purpose Sets the right margin to
n
columns at the current character width.
Discussion The number of inches of margin does not vary if the font,
character width, or horizontal dot density changes. This
command automatically clears and resets horizontal tabs to
every eight characters. The smallest possible space between
the left and right margins is the width of one-double wide, 10 cpi
character. If a margin control code violates this minimum
distance, it is ignored. Settings in proportional mode are treated
as 10 CPI.