Control Codes
PcOS Series 80PLUS
Programmer's Guide
Formatted Print Rotation
Page 36
Rev B 4/13/99
Function
Set rotated print line length
ASCII
[ESC] s <n>
Hexadecimal
1BH 73H <n>
Decimal
<27><115><n>
IPCL
&%RL <m
1
> <m
2
><m
3
>
EPOS
none
Description
This command sets the print line length to be used in auto-format rotated print
mode. The maximum number of characters is 128 per line. The power on
default line length is 80 characters.
Function
Set rotated print line spacing
ASCII
[ESC] u <n
1
> <m
1
> <n
2
> <m
2
> ... <n
i
> <m
i
> <0>
Hexadecimal
1BH 75H <n
1
> <m
1
> <n
2
> <m
2
> ... <n
i
> <m
i
> 00H
Decimal
<27><117> <n
1
> <m
1
> <n
2
> <m
2
> ... <n
i
> <m
i
> <0>
IPCL
none
EPOS
none
Description
This command adjusts
line spacing for each rotated print line. Where n
i
is the
line number, m
i
is the spacing in 1/80 inch from the previous line.
For the first print line, the distance is calculated from the margin. An n
i
value
of 0 is used to terminate the command. Any unspecified spacing will be set to 1.
These values will be used as a template for all subsequent, rotated print. On
power up, all spacing is preset to 1/80 inch for all lines. This command is only
effective in 90° and 270° rotation. It will remain in effect until a new table is
received or until the printer is power cycled. An [ESC] u <0> will have the
effect of setting all lines to 1. This table can be overridden by an [LF] or [ESC]
J <n> command in the rotated print data.
The value of m can be from 1 to 127; n can be from 1 to 23.
First line
Second Line
Third Line
Edge Receipt
Left Margin
n=1, m
n=2, m