Control Codes

 

PcOS Series 150

Programmer's Guide

Character Attributes

 

 

 

Function

Multiline double-wide and double-high

 

ASCII

[ESC] W <n>

 

Hexadecimal

1BH 57H <n>

 

Decimal

<27> <87> <n>

 

IPCL

&%FD, &%FS, &%FH (Note: Single-wide, double-high print is not available

 

in IPCL).

 

EPOS

[ESC] ! <n>

 

Description

This command controls multiline double-wide or double-high mode.

Where

n

specifies the mode

 

 

0

begins standard single-wide and single-high &%FS

 

1

begins double-wide

&%FD

 

2

begins double-high

none

 

3

begins double-wide, double-high

&%FH

Note: This command does not affect line spacing.

EPOS Note: [ESC] ! <n> performs a similar function; however, NLQ is not available.

Where n-bits

76543210

Function

 

 

1-------

Underline

 

 

--1-----

Double-wide

 

 

---1----

Double-high

 

 

-------X

Font: 1 = Utility, 0 = HSD

Function

Set print style: double-wide, double-high, italic control

ASCII

[ESC] [ @ [EOT] [NUL] <k> [NUL] <n> <m>

Hexadecimal

1BH 5BH 40H 04H 00H <k> 00H <n> <m>

Decimal

<27> <91> <64> <04> <0> <k> <0> <n> <m>

IPCL

&%DH

Double-high, double-wide, and double-space

 

&%SH

Single-high, single-wide, and single-space

 

Also, see [ESC] W.

 

Description

This command sets double-wide, double-high, and italic print mode.

Where

k-bits

 

76543210

 

 

 

 

----xxxx

Italic control

 

0

 

----0000

No change

 

1

 

----0001

Italic On

 

2

 

----0010

Italic Off

Where

n-bits

 

76543210

 

 

 

 

----xxxx

Height multiplier

 

0

 

----0000

No change

 

1

 

----0001

Single high

 

2

 

----0010

Double high

 

 

 

xxxx----

Line spacing

 

0

 

0000----

No change

 

16

 

0001----

Single line feed

 

32

 

0010----

Double line feed

Where

m-bits

 

76543210

 

 

 

 

----xxxx

Width multiplier

 

0

 

----0000

No change

Page 34

Rev G

12/14/99

Page 44
Image 44
Star Micronics 150 manual Character Attributes