4.2.12 HORIZONTAL MARGINS
ESC 1 n
Format:
ASCII:
decimal:
hexadecimal:
Comment:
The left margin is set to "n" columns from sheets edge, where the column width is
equal to the current character width; "n" value ranges from 0 to 160 (00hex...A0hex),
but it is ignored if a margin higher than 8 inches (230 mm) is selected. The left margin
position depends on the printing character width and on the print format, double width
or condensed. This command must be sent at the beginning of the line: all preceding
data in the buffer from the same line, is lost. The correct character to send is the lo-
wer case "l"
("l" for left) and not, as it often occurs, the number 1 character. Minimum space bet-
ween left and right margins is equal to the width of one 10 CPI (Pica) double width
character.
ESC Q n
Format:
ASCII:
decimal:
hexadecimal:
Comment:
The right margin is set to "n" columns from sheet's edge where the column width is
equal to the current character width. "n" value ranges from 1 to 255 (01hex...FFhex).
The right margin position depends on the printing character width and on the print
format, double width or condensed. This means that the maximum right margin is the
rightmost column, which is less than 255.
This command must be sent at the beginning of a line, because all the data in the buf-
fer preceding the command in the same line is lost, The minimum space between the
left and right margin is equal to the width of one 10 CPI (Pica) double width character.
ESC f NUL n
Format:
ASCII:
decimal:
hexadecimal:
Comment:
This command causes "n" spaces to be printed with no carriage return (CR). Maximum
value for "n" can be 127 (01hex...7Fhex).
DCA
Intertel
Set left margin
ESC
l
27
108
1B
6C
Set right margin
ESC
Q
27
81
1B
51
Horizontal skip
ESC
f
27
102
1B
66
29
n
n
n
n
n
n
NUL
n
0
n
00
n
DCA
Intertel