Programmer's guide pcos series 150 control codes – Star Micronics 150 User Manual

Page 29

Advertising
background image

Programmer's Guide

PcOS Series 150

Control Codes

Vertical Motion

12/14/99

Rev G

Page 19

Function

Set line space 21/216 or 7/72 inch

ASCII

[ESC] 1

Hexadecimal

1BH 31H

Decimal

<27> <49>

IPCL

&%SG

EPOS

none

Description

This command sets the default line spacing to 21/216 inch. This line spacing is
for all-points-addressable (APA) graphics printing.

Function

Set variable line space n/72 inch

ASCII

[ESC] A <n>

Hexadecimal

1BH 41H <n>

Decimal

<27> <65> <n>

IPCL

none

EPOS

none

Description

This command sets default line spacing to n/72. Set n = 1 to 85. This line
spacing does not take effect until enabled by the [ESC] 2 command. This
command is provided to maintain backward compatibility with the Series 50,
OKIDATA, IBM, and other printers. It can also be used to print on preprinted
forms.

Function

Enable [ESC] A <n> line spacing

ASCII

[ESC] 2

Hexadecimal

1BH 32H

Decimal

<27> <50>

IPCL

none

EPOS

none

Description

[ESC] 2 enables [ESC] A <n> line spacing. This is a companion to the [ESC]
A <n> command and puts the specified line spacing into effect. It will remain
in effect until another line spacing command is issued.

Function

Feed <n> lines at current spacing

ASCII

[ESC] d <n>

Hexadecimal

1BH 64H <n>

Decimal

<27> <100> <n>

IPCL

&%FL <m

1

> <m

2

>

EPOS

[ESC] d

Description

This command prints the contents of the buffer (if any) and performs <n> line
feeds at the current line spacing. This command does not change the default
line spacing value. The next character print position is reset to the left margin.

Note: The IPCL command will print from 00 to 99 lines. For example, if you
wish to feed 12 lines, the IPCL command would be &%FL12.

Advertising