Control Codes
PcOS Series 80PLUS
Programmer's Guide
Formatted Print Rotation
Page 34
Rev B 4/13/99
Function
Begin rotated print
ASCII
[ESC] r <X>
Hexadecimal
1BH 72H 0XH
Decimal
<27><114><X>
IPCL
&%RX
EPOS
[ESC] T <3>
Description
This command starts rotated print mode where X defines the mode as follows:
n-bits
76543210
Function
----xx00
End rotated print
----xx01
Rotate 90
°
----0010
Rotate 180
°
----xx11
Rotate 270
°
----x1xx
Use line formatting
If X = 1 or 9, rotate print mode by 90
°
. Print data is entered normally from left
to right, top to bottom. When an End Rotated Print ([ESC] r <0>) command is
received, the printer will format and print the data.
If X = 5 or 13, rotate print mode 90
°
with formatting. This command differs
from the [ESC] r <1> command in that the line length is determined not by the
longest line entered, but by the line length set by the [ESC] s command. If input
extends past the end of a line, the print will line wrap.
If X = 3 or 11, 270
°
rotated print mode is entered. The print will be rotated
270
°
according to the currently stored format parameters.
If X = 7 or 15, 270
°
rotated print mode is entered. The print will be rotated
270
°
according to the currently stored format parameters. This command
differs from the [ESC] r <3> command by spacing out the lines to the line
length specified by the [ESC] s command. If input extends past the end of a
line, the print will line wrap.
If X = 2, 180
°
rotated print mode is entered. All subsequent lines will be
rotated 180
°
and positioned at the opposite margin. All normal fonts and modes
are available in 180
°
rotated mode. The format and font bits are ignored by this
command. This command will remain in effect until rotation is canceled with
an End Rotated Print ([ESC] r <0>) command, or a station select command is
issued.