Programmer's Guide

PcOS Series 150

Control Codes

 

 

 

 

Summary by Function

Control Codes Summary by Function

 

 

 

 

 

 

 

 

 

Normal

Second

Hex Code

IPCL equivalent

Description

 

Page

ASCII

ASCII

 

code

 

 

 

 

field

 

 

 

 

 

 

 

 

Print/paper motion

 

 

[CR]

 

0DH

&%CR

Set carriage return.

 

15

 

 

 

Vertical motion

 

 

[LF]

 

0AH

&%LF

Set line feed.

 

15

[VT]

 

0BH

&%VT

Set vertical tabs.

 

20

[FF]

 

0CH

&%FF

Set form feed.

 

20

[ESC]

0

1BH,30H

&%ST

Set 1/8-inch line space.

 

18

[ESC]

1

1BH,31H

&%SG

Set 7/72-inch line space.

 

19

[ESC]

2

1BH,32H

 

Begin variable line spacing.

19

 

 

 

 

(Enable [ESC] A n).

 

 

[ESC]

3 <n>

1BH,33H

&%SV

Set fine line space n/216 inch where

18

 

 

 

<m1><m2><m3>

n=1..255 defines the feed used by

 

 

 

 

 

line feed.

 

 

[ESC]

4

1BH,34H

&%ST

Set top of form.

 

20

[ESC]

5 <n>

1BH,35H

&%CA {n=0}

Set auto line feed.

 

21

 

 

 

&%MA {n=1}

n=0 end

 

 

 

 

 

 

n=1 begin

 

 

[ESC]

A <n>

1BH,41H

 

Set variable line spacing n/72 where

19

 

 

 

 

n=1..85 is enabled by [ESC] 2.

 

[ESC]

B

1BH,42H

 

Set vertical tabs at lines n1 n2...

20

 

<n>1<n>2

 

 

nk 0.

 

 

 

<n>3...

 

 

 

 

 

 

<n>k <0>

 

 

 

 

 

[ESC]

C <n>

1BH,43H

&%

Set form length in lines or inches.

21

[ESC]

J <n>

1BH,4AH

&%FM

Do a fine line feed n/216 inch.

18

 

 

 

<m1><m2><m3>

n=0 no line feed

 

 

 

 

 

 

n=1..255

 

 

[ESC]

R

1BH,52H

&%HV

Reset horizontal and vertical tabs to

17

 

 

 

 

defaults.

 

 

[ESC]

]

1BH,5DH

&%LR

Reverse line feed.

 

21

[ESC]

d <n>

1BH,64H

&%FL

Feed <n> lines at the current

19

 

 

 

<m1><m2>

spacing.

 

 

 

 

 

Horizontal motion

 

 

[HT]

 

09H

&%HT

Set horizontal tabs.

 

16

[ESC]

D

1BH,44H

 

Set horizontal tabs at columns n1 n2

16

 

<n>1<n>2

 

 

... nk 0. The maximum value of n

 

 

<n>3...

 

 

depends on the station selected.

 

 

<n>k <0>

 

 

 

 

 

[ESC]

R

1BH,52H

&%HV

Reset horizontal and vertical tabs to

17

 

 

 

 

defaults.

 

 

[ESC]

V <n>

1BH,56H

 

Set intercharacter spacing.

32

[ESC]

X

1BH,58H

 

Set left and right margins.

 

 

<n1><n2>

 

 

n1=left in characters

 

 

 

 

 

 

n2=right in characters

 

 

[ESC]

a <n>

1BH,61H

&%JR

Set justification.

 

17

 

 

 

&%JC

n=0 left

 

 

 

 

 

&%JL

n=1 center

 

 

 

 

 

 

n=2 right

 

 

 

 

 

 

n=4 180° right

 

 

 

 

 

 

n=5 180° center

 

 

 

 

 

 

n=6 180° left

 

 

 

 

 

 

180° mode not available in IPCL.

 

12/14/99

Rev G

Page 85

Page 95
Image 95
Star Micronics 150 Control Codes Summary by Function, Programmers Guide, Code Field Print/paper motion, Vertical motion