Control Codes

 

PcOS Series 150

Programmer's Guide

Summary by Function

 

 

 

 

 

 

 

 

 

 

[ESC]

U <n>

1BH,55H

&%GU {n=1}

Select bidirectional/unidirectional

47

 

 

 

&%GB {n=0}

mode.

 

 

 

 

 

 

n=0 bidirectional

 

 

 

 

 

n=1 unidirectional

 

[ESC]

# 0

1BH,23H,

&%QT

Set Normal Print Mode. (HSD is

22

 

 

30H

 

normal.)

 

 

[ESC]

E

1BH,45H

&%MM

Begin emphasized print

37

 

 

 

 

(half-speed).

 

 

[ESC]

F

1BH,46H

&%CM

End emphasized print.

37

[ESC]

G

1BH,47H

&%ME

Begin enhanced print (double pass).

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

 

 

 

 

&%QS {n=2}

n=1 Utility

 

 

 

 

 

&%QL {n=3}

n=2 NLQ Sans-Serif

 

 

 

 

 

n=3 NLQ Courier

 

[ESC]

[ @ ...

1BH,5BH,

 

Set print style. (See command

34

 

 

40H

 

description.)

 

 

 

 

 

International Character Sets

 

 

[ESC]

! <n>

1BH,21H

&%CS<n>

Select International Character Set.

24

[ESC]

[ T <n>

1BH,5BH,

&%CP

Set character set by code page.

26

 

 

54H

<m1><m2><m3>

 

 

 

 

 

 

<m4>

 

 

 

 

 

 

Custom characters

 

 

[ESC]

$

1BH,24H

 

Copy ROM character set to RAM

28

 

 

 

 

character set.

 

 

[ESC]

=<n>1

1BH,3DH

 

Download character font image.

28

 

<n>2

 

 

 

 

 

 

<start

 

 

 

 

 

 

code>

 

 

 

 

 

 

<data>

 

 

 

 

 

[ESC]

> <n>

1BH,3EH

 

Set custom character.

28

 

 

 

 

n=0 OFF

 

 

 

 

 

 

n=1 ON

 

 

 

 

 

Character pitch

 

 

[DC2]

 

12H

&%F3

Set 10 cpi.

 

31

[ESC]

:

1BH,3AH

&%F2

Set 12 cpi.

 

31

[SI]

 

0FH

&%F1

Set 17 cpi.

 

31

[ESC]

[SI]

1BH, 0FH

&%F4

Set 24 cpi.

 

31

[ESC]

[ P <n>

1BH,5BH,

&%F1-7

Set character pitch.

32

 

 

50H

 

 

 

 

 

 

 

Character attributes

 

 

[SO]4

 

0EH

&%MW

Set one-line double-wide mode.

33

[DC4]

 

14H

&%MN

Cancel one-line double-wide mode.

33

[ESC]

> <n>

1BH,3EH

 

Set custom character.

28

 

 

 

 

n=0 OFF

 

 

 

 

 

 

n=1 ON

 

 

[ESC]

% G

1BH,25H,

&%MI

Begin italics.

 

38

 

 

47H

 

 

 

 

[ESC]

% H

1BH,25H,

&%CI

End italics.

 

38

 

 

48H

 

 

 

 

[ESC]

- <n>

1BH,2DH

&%CU {n=0}

Set underline.

 

36

 

 

 

&%MU {n=1}

n=0 end

 

 

 

 

 

 

n=1 begin

 

 

[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 86

Rev G

12/14/99

Page 96
Image 96
Star Micronics 150 manual International Character Sets, Custom characters, Character pitch, Character attributes