Control Codes
Page 114 100-88002 Rev B
Function Set Page Mode Entry Position Legacy Support
ASCII [ESC] o <X
L
><X
H
><Y
L
><Y
H
><F>
Hexadecimal 1BH 6FH <X
L
><X
H
><Y
L
><Y
H
><F>
Decimal <27><111><X
L
><X
H
> <Y
L
><Y
H
><F>
IPCL None
EPOS [ESC] W
Description This command sets the horizontal and vertical entry position to anywhere
on the page. It is only valid in page mode. If the value specified is beyond the page
boundary, the command is ignored. (X and Y refers to the current active orientation
specified by the [ESC]t command, and is not same as the page definition of X and Y.)
The X and Y positions are in dots.
Y = Y
h
* 256 + Y
l
dots from the top
X = X
h
* 256 + X
l
dots from the left
The F parameter is a flag that specifies if this command is an absolute position
command or relative to the current position. If its value is <1> the command is
processed as a relative position command, and if its value is <0> the command is
interpreted as an absolute position command.
Note: You can also use the [ESC]J, [ESC]M. [ESC]d and [ESC]e commands to
position the print on the page.
Function Exit Page Mode
ASCII [FF] or [ESC][SUB] P
Hexadecimal 0CH or 1BH 1AH 50H
Decimal <12> or <27><26><80>
IPCL &%FF
EPOS [FF]
Description This command exits page mode definition and starts the print process. If
the printer is not in page mode, this command is treated as a normal form feed
command.
Note: When page mode finishes printing, the left and right margins are
restored to the values before the select page mode command. All other
format changes are preserved.