beautypg.com

Vertical motion control, Control codes pcos series 150 programmer's guide – Star Micronics 150 User Manual

Page 28

background image

Control Codes

PcOS Series 150

Programmer's Guide

Vertical Motion

Page 18

Rev G

12/14/99

Vertical Motion Control

Function

Fine line feed

ASCII

[ESC] J

Hexadecimal

1BH 4AH

Decimal

<27> <74>

IPCL

&%FM

1

>

2

>

3

>

EPOS

[ESC] J

Description

This command prints the contents of the buffer (if any) and performs a line feed
of n/216 inch. This command does not change the default line spacing value.
The next character print position is reset to the left margin.

EPOS Note: In EPOS mode, this command performs line feeds in n/144-inch
increments.

Figure 8 Data sent to printer for fine line feed

Function

Set variable line space in n/216 inch

ASCII

[ESC] 3

Hexadecimal

1BH 33H

Decimal

<27> <51>

IPCL

&%SV

1

>

2

>

3

>

EPOS

[ESC] 3

Description

This command sets the default line spacing in n/216 inch. Set n = 1 to 255.
This command takes effect immediately and sets the line feed spacing used by
[LF] to values other than 1/8 or 7/72 inch.

EPOS Note: Line spacing of n/144 is used.

Function

Set line space to 27/216 inch

ASCII

[ESC] 0

Hexadecimal

1BH 30H

Decimal

<27> <48>

IPCL

&%ST

EPOS

[ESC] 2

Description

This command sets the text default line spacing to 1/8 or 27/216 inch which is
the standard eight lines per inch line spacing at initial power up.

EPOS Note: In EPOS mode, this command sets 1/6-inch spacing or 6 lines per
inch.

Example of Fine Line Feed[CR]
[ESC]J<54>
This line is 1/4" below the first.[CR][LF]
This line is spaced at the default of
1/8".[CR][LF]

Figure 7 Example of fine line feed