Printronix SL5000 Manual De Referencia
102
Chapter
4
Configuring the Serial Matrix Emulation with Control Codes
Form Margins, Set
ASCII Code ESC v
n1 n2 n3 n4
Hex Code
1B 76
n1 n2 n3 n4
Dec Code
27 118
n1 n2 n3 n4
Purpose
Selects left (
n1), right (n2), top (n3), and bottom (n4) form
margins.
where:
n1 = The width of the left margin (hex value) in character
columns at the current cpi. If the requested margin is larger than
the current (form width - right margin), the value is ignored.
columns at the current cpi. If the requested margin is larger than
the current (form width - right margin), the value is ignored.
n2 = The width of the right margin (hex value) in character
columns at the current cpi. If the requested margin is larger than
the current (form width - left margin), the value is ignored.
columns at the current cpi. If the requested margin is larger than
the current (form width - left margin), the value is ignored.
n3 = The length of the top margin (hex value) in character lines
at the current lpi. If the requested margin is larger than the
current (form length - bottom margin), the value is ignored.
at the current lpi. If the requested margin is larger than the
current (form length - bottom margin), the value is ignored.
n4 = The length of the bottom margin (hex value) in character
lines at the current lpi. If the requested margin is larger than the
current (form length - top margin), the value is ignored.
lines at the current lpi. If the requested margin is larger than the
current (form length - top margin), the value is ignored.
Comment
A hex value of FF for
n1, n2, n3, or n4 indicates that the margin
remains unaffected. When set, the right and bottom margins
take effect immediately. The left margin takes effect for the
current line only if no horizontal motion has occurred for the line;
otherwise, it takes effect on the next line. The top margin always
takes effect on the next form.
take effect immediately. The left margin takes effect for the
current line only if no horizontal motion has occurred for the line;
otherwise, it takes effect on the next line. The top margin always
takes effect on the next form.
Vertical tabs defined within the top and bottom margins are
ignored. Horizontal tabs are offset by the left margin and ignored
within the right margin.
ignored. Horizontal tabs are offset by the left margin and ignored
within the right margin.
Horizontal Tab
ASCII Code HT
Hex Code
09
Dec Code
9
Purpose
Moves the logical printhead right to the next horizontal tab stop.
Comment
Power-on default horizontal tabs are set at every eighth
character in the Serial Matrix printer protocol. If there are no
horizontal tabs set or the logical printhead is located at the last
character column, the code is ignored and no movement occurs.
character in the Serial Matrix printer protocol. If there are no
horizontal tabs set or the logical printhead is located at the last
character column, the code is ignored and no movement occurs.
Horizontal tabs are stored as a relative position; therefore,
character pitch changes change horizontal tab positions. See
Horizontal Tab Set, below, to set new tab positions.
character pitch changes change horizontal tab positions. See
Horizontal Tab Set, below, to set new tab positions.