Margins
ESC
Format:
ASCII code:
ESC (
Decimal:
27
40
Hexadecimal:
28
nl
nl
Set
Format
n2 . . .
n2 . . .
n2 . . .
Comments:
Specifies margins (top, bottom, left, and right) within a specified page.
The following values can be used for nl, which specifies the paper size:
0: Same as physical paper size
1: A4 fed lengthwise
2: A5 fed lengthwise
4: B5 fed lengthwise
5: Letter fed lengthwise
6: Half Letter fed lengthwise
Legal fed lengthwise
9: A4 fed sideways
10: A5 fed sideways
12: B5 fed sideways
13: Letter fed sideways
14: Half Letter fed sideways
15: Legal fed sideways
The next eight characters are used to set the margins: and
n3
specify
the top margin; n4 and n5 specify the bottom margin; n6 and n7 specify
the left margin; and specify the
right
margin. In each case, the
margin is specified in units of the minimum increment, using the
formula: total distance + x 256). The minimum increment is
specified with ESC q. The margins are cleared if the paper size is
changed. Margins must be less than 5461 in dots.
Print position movement
ESC
Set Absolute Print Position on Page
Format:
ASCII code:
ESC )
nl
n2 n3 n4
Decimal:
27
41
nl
n2 n3 n4
Hexadecimal:
29
nl
n2 n3 n4
Comments:
Specifies the position at which subsequent data is printed. The values
of nl and n2 specify the distance of
the
print position from the origin in
the X (horizontal) direction; n3 and n4 specify the distance of the print
position from the origin in the Y (vertical) direction. In each case, the
distance is specified in units of the minimum increment, using the
formula: total distance + x 256). The minimum increment is
specified with ESC q.
A-16
Page Printer Commands
Summary of Contents for GQ-3500
Page 2: ...EPSON G Q 3 5 0 0 User s Manual ...
Page 36: ......
Page 160: ...EPSON G Q 3 5 0 0 Quick Reference ...