Programmer's Guide

PcOS Series 150

Control Codes

 

 

 

 

 

Summary by Code

 

 

 

 

 

 

[ESC]

U <n>

1BH,55H

&%GU {n=1}

Select bidirectional/unidirectional

47

 

 

 

&%GB {n=0}

print.

 

 

 

 

 

 

n=0 bidirectional

 

 

 

 

 

 

n=1 unidirectional

 

 

[ESC]

V <n>

1BH,56H

 

Set intercharacter spacing.

32

[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 begin double-wide

 

 

 

 

 

 

n=2 double high

 

 

 

 

 

 

n=3 both

 

 

[ESC]

X

1BH,58H

 

Set left and right margins.

 

 

<n1><n2>

 

 

n1=left

 

 

 

 

 

 

n2=right

 

 

[ESC]

Y <n>1

1BH,59H

 

Set double-density full-speed

45

 

<n>2

 

 

graphics (120 h x 72 v dpi).

 

[ESC]

Z <n>1

1BH,5AH

 

Set quad-density full-speed

45

 

<n>2

 

 

graphics (240 h x 72 v dpi).

 

[ESC]

[ @ ...

1BH,5BH,

&%DH

Set print style.

 

34

 

 

40H

&%SH

(See command description.)

 

[ESC]

[ P <n>

1BH,5BH,

&%F1-7

Set character pitch.

 

32

 

 

50H

 

 

 

 

[ESC]

[ T <n>

1BH,5BH,

&%CP<m1><m2>

Select character code page.

26

 

 

54H

<m3><m4>

 

 

 

[ESC]

]

1BH,5DH

&%LR

Set reverse line feed.

 

21

[ESC]

^ <n>

1BH,5EH

&%CC

Print control character.

 

27

 

 

 

<m1><m2><m3>

 

 

 

[ESC]

_ <n>

1BH,5FH

&%CO {n=0}

Enable overscore.

 

36

 

 

 

&%MO {n=1}

n=0 end

 

 

 

 

 

 

n=1 begin

 

 

[ESC]

a <n>

1BH,61H

&%JL {n=0}

Set justification.

 

17

 

 

 

&%JC {n=1}

n=0 left

 

 

 

 

 

&%JR {n=2}

n=1 center

 

 

 

 

 

 

n=2 right

 

 

[ESC]

b <n> ...

1BH,62H

&%25 {n=0}

Print bar code.

 

48

 

[ETX]

 

&%39 {n=1}

n=0 Interleave 2 of 5

 

 

 

 

 

&%12 {n=2}

n=1 Code 39

 

 

 

 

 

&%UP {n=3}

n=2 Code 128

 

 

 

 

 

&%EA {n=4}

n=3 UPC A

 

 

 

 

 

&%UE {n=5}

n=4 EAN-13

 

 

 

 

 

&%E8 {n=6}

n=5 UPC-E

 

 

 

 

 

&%93 {n=7}

n=6 EAN-8

 

 

 

 

 

&%HB {n=10}

n=7 Code 93

 

 

 

 

 

 

n=10 Hollerith

 

 

[ESC]

d <n>

1BH,64H

&%FL<m1><m2>

Feed <n> lines at the current

19

 

 

 

 

spacing.

 

 

[ESC]

q <n>

1BH,71H

 

Set query marker.

 

 

[ESC]

r <n>

1BH,72H

&%R0 {n=0}

Set rotated print.

 

41

 

 

 

&%R1 {n=1}

n=0 end

 

 

 

 

 

&%R2 {n=2}

n=1 rotate by 90°

 

 

 

 

 

&%R3 {n=3}

°

 

 

 

 

 

&%R5 {n=5}

n=2 rotate left 180

 

 

 

 

 

n=3 rotate by 270°

 

 

 

 

 

&%R7 {n=7}

n=5 rotate by 90° with formatting

 

 

 

 

 

 

 

 

 

 

n=7 rotate by 270° with formatting

 

[ESC]

s <n>

1BH,73H

&%RL<m1><m2>

Set rotated print line length.

43

 

 

 

<m3>

 

 

 

12/14/99

Rev G

Page 83

Page 93
Image 93
Star Micronics 150 manual ESC 1BH,5AH, ESC 1BH,5DH, ESC 1BH,5EH, ESC 1BH,5FH, Etx