Programmer's Guide

PcOS Series 150

Control Codes

 

 

 

 

Summary by Function

 

 

 

 

 

 

[ESC]

W <n>

1BH,57H

&%FS {n=0}

Set multiline double-wide double-

34

 

 

 

&%FD {n=1}

high sequence.

 

 

 

 

 

&%FH {n=3}

n=0 end all

 

 

 

 

 

 

n=1 double-wide

 

 

 

 

 

 

n=2 double-high

 

 

 

 

 

 

n=3 both

 

 

[ESC]

_ <n>

1BH,5FH

&%CO {n=0}

Set overscore.

 

36

 

 

 

&%MO {n=1}

n=0 end

 

 

 

 

 

 

n=1 begin

 

 

 

 

 

Rotated print

 

 

[ESC]

P <n>

1BH,50H

&%RF {n=1}

Rotate font.

 

23

 

 

 

&%RI {n=2}

n=0 normal

 

 

 

 

 

&%RN {n=0}

n=1 rotated 90°

 

 

 

 

 

 

n=2 rotated 270°

 

 

[ESC]

r <n>

1BH,72H

&%R0 {n=0}

Rotate print.

 

41

 

 

 

&%R1 {n=1}

n=0 end

 

 

 

 

 

&%R2 {n=2}

n=1 rotate by 90°

 

 

 

 

 

&%R3 {n=3}

°

 

 

 

 

 

 

n=2 rotate left 180

 

 

 

 

 

 

n=3 rotate by 270°

 

 

[ESC]

s <n>

1BH,73H

&%RL

Set rotated print line length.

43

 

 

 

<m1><m2><m3>

n=1..128 (Default 80)

 

 

[ESC]

u <n>1

1BH,75H

&%RS

Set rotated print line spacing.

44

 

<m>1

 

 

nk=0 End where n=line and

 

 

<n>2

 

 

m=dots from last line.

 

 

 

<m>2 ...

 

 

Note: All lines not specified are set

 

 

<n>k <0>

 

 

to 1 dot.

 

 

 

 

 

Graphics

 

 

 

[ESC]

* <m>

1BH,2AH

 

Print Epson 9-pin graphics in mode

46

 

<n>1

 

 

<m>.

 

 

 

<n>2

 

 

 

 

 

[ESC]

?

1BH,3FH

 

Reassign graphic mode.

 

46

 

<m><n>

 

 

 

 

 

[ESC]

K <n>1

1BH,4BH

 

Set single-density graphics.

45

 

<n>2

 

 

n1=0..255

 

 

 

 

 

 

n2=0..3

 

 

 

 

 

 

len=n1 +256*n2

 

 

[ESC]

L <n>1

1BH,4CH

 

Set double-density half-speed

45

 

<n>2

 

 

graphics.

 

 

 

 

 

 

n1=0..255

 

 

 

 

 

 

n2=0..3

 

 

 

 

 

 

len=n1 + 256*n2

 

 

[ESC]

Y <n>1

1BH,59H

 

Set double-density full-speed

45

 

<n>2

 

 

graphics.

 

 

 

 

 

 

n1=0..255

 

 

 

 

 

 

n2=0..3

 

 

 

 

 

 

len=n1 +256 * n2

 

 

[ESC]

Z <n>1

1BH,5AH

 

Set quad-density full-speed

45

 

<n>2

 

 

graphics.

 

 

 

 

 

 

n1=0..255

 

 

 

 

 

 

n2=0..3

 

 

 

 

 

 

len=n1 +256 * n2

 

 

[ESC]

U <n>

1BH,55H

&%GU {n=1}

Select bidirectional/unidirectional

47

 

 

 

&%GB {n=0}

mode.

 

 

 

 

 

 

n=0 bidirectional

 

 

 

 

 

 

n=1 unidirectional

 

 

12/14/99

Rev G

Page 87

Page 97
Image 97
Star Micronics 150 manual Rotated print, Graphics