APPENDICES

 

 

 

 

 

 

Command name

Function

Sequence

Decimal

Hexadecimal

 

 

 

 

 

 

 

Set/Cancel

When n=1, subsequent characters

ESC - n

27 45 n

1B

2D n

Underline Print

(including spaces, but excluding

 

 

 

 

 

Mode

horizontal tabs) are underlined.

 

 

 

 

 

 

When n=0, this effect is canceled

 

 

 

 

 

Set/Cancel

When n=1, subsequent characters

ESC _ n

27 95 n

1B

5F n

Overline Print

(including spaces, but excluding

 

 

 

 

 

Mode

horizontal tabs) are overlined.

 

 

 

 

 

 

When n=0, this effect is canceled

 

 

 

 

 

Select Double-

Depending on the values of m3 and m4,

ESC [ @ 4

27 91 64 4

1B

5B 40 04

High/Double-

double-height and/or double-width

0 0 0

0 0 0

00 00 00

 

Width Mode

printing is enabled or disabled

m3 m4

m3 m4

m3 m4

Select Character

Allows printing of the symbols in

ESC 6

27 54

1B 36

Set II

Character Set II

 

 

 

 

 

Select Character

Allows printing of the symbols in

ESC 7

27 55

1B 37

Set I

Character Set I

 

 

 

 

 

Select Characters

Allows (n1 + (n2 x 256)) characters to be

ESC \ n1 n2

27 92 n1 n2 1B

5C n1 n2

from All Character

printed from the All Characters Table.

{data}

{data}

{data}

Table

Control codes in the data are ignored

 

 

 

 

 

Select a Character

Prints one character (c) from the All

ESC ^ c

27 94 c

1B 5E c

from All Character

Character Table

 

 

 

 

 

Table

 

 

 

 

 

 

Define 8-dot

Allows definition of user-defined

ESC = n1 n2

27 61 n1 n2 1B

3D n1 n2

Download

characters

sp m a1 a2

32 m a1 a2

20 m a1 a2

Characters

 

{data}

{data}

{data}

Select Download

Selects font and print quality (n=0 or 2 -

ESC I n

27 73 n

1B

49 n

Font

internal fonts, n=4 or 6 - downloaded

 

 

 

 

 

 

fonts)

 

 

 

 

 

Set Single-Density

Selects and prints single-density bit-image

ESC K n1

27 75 n1 n2 1B

4B n1 n2

Bit Image Mode

data

n2 {data}

{data}

{data}

Set Double-Density

Selects and prints double-density bit

ESC L n1

27 76 n1 n2 1B

4C n1 n2

Bit Image Mode

image data

n2 {data}

{data}

{data}

Set Double-Speed

Selects and prints “double speed” double-

ESC Y n1

27 89 n1 n2 1B 59 n1 n2

Double-Density Bit

density bit image data

n2 {data}

{data}

{data}

Image Mode

 

 

 

 

 

 

Set Quadruple-

Selects and prints quadruple-density bit

ESC Z n1

27 90 n1 n2 1B

5A n1 n2

Density Bit Image

image data

n2 {data}

{data}

{data}

Mode

 

 

 

 

 

 

Set Scalable Font

Selects horizontal ratio

ESC CR !

27 13 33

1B

0D 21

Ratio (original)

(n=0.25 to 3 step 0.01)

n H

n 72

n 48

 

Selects vertical ratio

ESC CR !

27 13 33

1B

0D 21

 

(n-0.25 to 3 step 0.01)

n V

n 86

n 56

Execute Card Data

Execute saved Card data

ESC CR !

27 13 33

1B

0D 21

(original)

 

n E

n 69

n 45

 

 

 

 

 

 

 

Appendix–65