Control Codes

 

PcOS Series 150

Programmer's Guide

Summary by Code

 

 

 

 

 

 

 

 

 

 

 

[ESC]

4

1BH,34H

&%TF

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]

8

1BH,38H

&%PF

Disable paper error sensor.

51

[ESC]

9

1BH,39H

&%PO

Enable paper error sensor.

51

[ESC]

:

1BH,3AH

&%F2

Set 12 cpi.

 

31

[ESC]

< <n>

1BH,3CH

&%PT

Set print suppress and pass

57

 

 

 

 

through.

 

 

[ESC]

=<n1>

1BH,3DH

 

Download character font image.

28

 

<n2>

 

 

 

 

 

 

<start

 

 

 

 

 

 

code>

 

 

 

 

 

 

<data>

 

 

 

 

 

[ESC]

> <n>

1BH,3EH

 

Enable custom character set.

16

 

 

 

 

n=0 Off

 

 

 

 

 

 

n=1 On

 

 

[ESC]

?

1BH,3FH

 

Reassign graphic mode.

46

 

<m><n>

 

 

 

 

 

[ESC]

A <n>

1BH,41H

 

Set variable line spacing to n/72.

19

 

 

 

 

Where n=1..85 is enabled by

 

 

 

 

 

[ESC] 2.

 

 

[ESC]

B <n1>

1BH,42H

 

Set vertical tab stops.

20

 

<n2><n3>

 

 

 

 

 

 

...<ni>

 

 

 

 

 

 

<0>

 

 

 

 

 

[ESC]

C <n>

1BH,43H

&%SL <m1><m2>

Set form length in lines.

21

[ESC]

C [NUL]

1BH,43H

&%SI <m1><m2>

Set form length in inches.

21

 

<n>

 

 

 

 

 

[ESC]

D<n1>

1BH,44H

 

Set horizontal tab stops.

16

 

<n2><n3>

 

 

 

 

 

 

..<ni><0>

 

 

 

 

 

[ESC]

E

1BH,45H

&%MM

Begin emphasized print.

37

[ESC]

F

1BH,46H

&%CM

End emphasized print.

37

[ESC]

G

1BH,47H

&%ME

Begin enhanced print.

37

[ESC]

H

1BH,48H

&%CE

End enhanced print.

37

[ESC]

I <n>

1BH,49H

&%QT {n=0}

Select print mode.

22

 

 

 

&%QU {n=1}

n=0 High Speed Draft

 

 

 

 

&%QL {n=2}

n=1 Utility

 

 

 

 

 

&%QS {n=3}

n=2 NLQ Courier

 

 

 

 

 

n=3 NLQ Sans Serif

 

[ESC]

J <n>

1BH,4AH

&%FM

Do a fine line feed.

18

 

 

 

<m1><m2><m3>

 

 

 

[ESC]

K <n>1

1BH,4BH

 

Set single-density graphics (60h x

45

 

<n>2

 

 

72 v dpi).

 

 

[ESC]

L <n>1

1BH,4CH

 

Set double-density half-speed

45

 

<n>2

 

 

graphics (120 h x 72 v dpi)

 

[ESC]

P <n>

1BH,50H

&%RF {n=1}

Set rotated font.

 

 

 

 

&%RI {n=2}

n=0 normal

 

 

 

 

 

&%RN {n=0}

n=1 rotated 90°

 

 

 

 

 

n=2 rotated 270°

 

[ESC]

R

1BH,52H

&%HV

Reset horizontal and vertical tab

17

 

 

 

 

stops.

 

 

[ESC]

S <n>

1BH,53H

&%SB {n=1}

Select superscript/subscript.

38

 

 

 

&%SP {n=0}

n=0 superscript

 

 

 

 

 

n=1 subscript

 

[ESC]

T

1BH,54H

&%SE

End superscript/subscript.

38

Page 82

Rev G

12/14/99

Page 92
Image 92
Star Micronics 150 manual ESC 1BH,3AH, ESC 1BH,3CH, 1BH,3DH, ESC 1BH,3EH, ESC 1BH,3FH, Esc Nul, ESC 1BH,4AH, ESC 1BH,4BH