beautypg.com

Control codes pcos series 150 programmer's guide, Summary by function – Star Micronics 150 User Manual

Page 96

background image

Control Codes

PcOS Series 150

Programmer's Guide

Summary by Function

Page 86

Rev G

12/14/99

[ESC]

U

1BH,55H

&%GU {n=1}
&%GB {n=0}

Select bidirectional/unidirectional
mode.
n=0 bidirectional
n=1 unidirectional

47

[ESC]

# 0

1BH,23H,
30H

&%QT

Set Normal Print Mode. (HSD is
normal.)

22

[ESC]

E

1BH,45H

&%MM

Begin emphasized print
(half-speed).

37

[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

1BH,49H

&%QT {n=0}
&%QU {n=1}
&%QS {n=2}
&%QL {n=3}

Select print mode.
n=0 High Speed Draft
n=1 Utility
n=2 NLQ Sans-Serif
n=3 NLQ Courier

22

[ESC]

[ @ ...

1BH,5BH,
40H

Set print style. (See command
description.)

34

International Character Sets

[ESC]

!

1BH,21H

&%CS

Select International Character Set.

24

[ESC]

[ T

1BH,5BH,
54H

&%CP

1

>

2

>

3

>

4

>

Set character set by code page.

26

Custom characters

[ESC]

$

1BH,24H

Copy ROM character set to RAM
character set.

28

[ESC]

=

1

2

code>

1BH,3DH

Download character font image.

28

[ESC]

>

1BH,3EH

Set custom character.
n=0 OFF
n=1 ON

28

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

1BH,5BH,
50H

&%F1-7

Set character pitch.

32

Character attributes

[SO]4

0EH

&%MW

Set one-line double-wide mode.

33

[DC4]

14H

&%MN

Cancel one-line double-wide mode.

33

[ESC]

>

1BH,3EH

Set custom character.
n=0 OFF
n=1 ON

28

[ESC]

% G

1BH,25H,
47H

&%MI

Begin italics.

38

[ESC]

% H

1BH,25H,
48H

&%CI

End italics.

38

[ESC]

-

1BH,2DH

&%CU {n=0}
&%MU {n=1}

Set underline.
n=0 end
n=1 begin

36

[ESC]

S

1BH,53H

&%SB {n=1}
&%SP {n=0}

Select superscript/subscript.
n=0 superscript
n=1 subscript

38

[ESC]

T

1BH,54H

&%SE

End superscript/subscript.

38