beautypg.com

Control codes pcos series 150 programmer's guide – Star Micronics 150 User Manual

Page 52

background image

Control Codes

PcOS Series 150

Programmer's Guide

Rotated Print

Page 42

Rev G

12/14/99

Function

Begin 270° rotated print

ASCII

[ESC] r <3>

Hexadecimal

1BH 72H 03H

Decimal

<27> <114> <3>

IPCL

&%R3

EPOS

[ESC] T <1>

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. The print will be rotated 270° according to the currently stored format
parameters.

EPOS Note: The Series 150 Printer does not implement EPOS page mode. The
[ESC] T command functions identically to the normal mode [ESC] r
except the definition of is different.

Function

Begin 270° rotated print with line formatting

ASCII

[ESC] r <7>

Hexadecimal

1BH 72H 07H

Decimal

<27> <114> <7>

IPCL

&%R7

EPOS

[ESC] T <1>

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. 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, it will line wrap.

Function

Begin 180° rotated print

ASCII

[ESC] r <2>

Hexadecimal

1BH 72H 02H

Decimal

<27> <114> <2>

IPCL

&%R2

EPOS

[ESC] { <1>

Description

All subsequent lines will be rotated 180° and positioned at the opposite margin.
This command is effective on all stations including the journal. 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.

Note: The last line of print must be terminated with a line terminator before the
end rotated command is issued. Any characters in the print buffer that have not
been printed will not be printed. They will be printed unrotated when a line
terminator is received.