Control Codes
100-88002 Rev B Page 109
position. The complete page definition is printed excluding any blank information at
the bottom of the page.
Function Set Print Area in Page Mode Enhanced
ASCII [ESC] [SUB] S <XOL><XOH><<YOL><YOH><WL><WH>< HL><HH>
Hexadecimal 1BH 1AH 53H <XOL><XOH><<YOL><YOH><WL><WH>< HL><HH>
Decimal <27><26><83><XOL><XOH><<YOL><YOH><WL><WH>< HL><HH>
IPCL None
EPOS [ESC] W
Description This command Sets the position and size of the initial area in page mode
and sub pages.
Where:
<XOL><XOH> the x direction offset Min 0
<YOL><YOH> the y direction offset Min 0
<WL><WH> the width in dots Max 576
< HL><HH> the height in dots Max 3000
This command should always be sent before or immediately after page mode is
entered to define the initial page size.
Once in page mode (after the [ESC]t command) the command can be sent multiple
times so that several different print areas, aligned in different print directions, can be
developed in the printer’s page buffer before being printed using the Print Page Mode
commands
(FF or ESC FF).
The starting position of the print area is the upper left of the area to be printed. The
Yoffset is in the y direction and is YO dots and the Xoffset is in the x direction and is
XO dots in. The length of the area to be printed in the y direction is set to H dots. The
length of the area to be printed in the x direction is set to W dots.
The set print area command may be invoked multiple times while in page mode. The
first invocation specifies the initial master page size. Following invocations will define
smaller windows within the initially defined page. If the Set page size command is not
used, the page size will default to the maximum size.
The orientation of the set print area command is always based on 0 degrees
regardless of the current orientation setting. This includes if the command is sent
before the start page mode command, after the start page mode command, or as a
sub-page.
Note: The maximum printable area in the x direction is 576/203 or 3.15 inches.
Note: The maximum printable area in the y direction is 2999/203 or 14.78 inches.
Note: Only the used portion of the page is printed. That is the page length will only
include what actually has print data. See illustration below.