Star Micronics 150 User Manual

Page of 151
Programmer's Guide
PcOS Series 150
Control Codes
Rotated Print
12/14/99
Rev G
Page 41
If a [LF] is used to specify the line spacing, it overrides the default table and sets spacing to one dot
for eight lines per inch. If [ESC] J <n> is used, <n> specifies the spacing in n/216 (including the one
dot white space). Note: the finest resolution is still 1/80, n/216 will be rounded to the nearest n/80 and
the smallest value allowed will be 1/80.
In rotated 90° or 270° mode, the print is done in all-points-addressable (APA) graphics. The
intercharacter spacing is adjusted with the normal line spacing commands. The [ESC] 3 <n>
command is the most effective command for adjusting intercharacter spacing. Line spacing smaller
than 12 cpi will force the characters to overlap. (Spacing of 12 cpi is obtained with an [ESC] 3 <18>.)
When 90° or 270° rotation is selected, only normal text can be printed. Underline, enhanced,
emphasized, and other attributes will not function. See the chart on page 30 for a list of available
features.
In 180° rotation mode, all spacing commands are effective. This mode of operation simply inverts and
mirrors the print operation. All line spacing and print features are available. It should be noted that
the feed direction is not effected by any of the rotate commands.
Function
Begin 90° rotated print
ASCII
[ESC] r <1>
Hexadecimal
1BH 72H 01H
Decimal
<27> <114> <1>
IPCL
&%R1
EPOS
[ESC] T <3>
Description
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 formats and prints
the data.
EPOS Note: The Series 150 Printer does not fully implement EPOS page
mode. The [ESC] T <n> command functions identically to the normal mode
[ESC] r <n> except the definition of <n> is different.
Function
Begin 90° rotated print with line formatting
ASCII
[ESC] r <5>
Hexadecimal
1BH 72H 05H
Decimal
<27> <114> <5>
IPCL
&%R5
EPOS
[ESC] T <3>
Description
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 formats and prints
the data. 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, it will line
wrap.