Esc ! esc, Sets printing style. (epson), Sets score line. (epson) – Compuprint 4247-L03 Programmer Manua User Manual

Page 36

Advertising
background image

ESC !

Sets printing style. (EPSON)

ASCII Code

ESC ! n

Hexadecimal Value

X'1B' X'21' n

Decimal Value

27 33 n

This command is used to select any valid combination of printing attributes. Each printing attribute is
selected by the n parameter, as specified in the following page:

n

Attribute

0

10 cpi

1

12 cpi

2

Proportional

4

Compressed

8

Emphasized

16

Double Strike

32

Double Width

64

Italics

128

Underline

To print the desired combination of printing attributes, calculate the n parameter by adding up the values of
each attribute.

ESC ( −

Sets score line. (EPSON)

ASCII Code

ESC ( − n

1

n

2

m d

1

d

2

Hexadecimal Value

X'1B' X'28' X'2D' n

1

n

2

m d

1

d

2

Decimal Value

27 40 45 n

1

n

2

m d

1

d

2

Range

n

1

= 3

n

2

= 0

m = 1
1 ≤ d

1

3

d

2

= 0, 1, 2, 5, 6

This command enables or disables scoring of all characters and spaces following the command according
to the following parameters:

d

1

Line

1

Underline

2

Strikethrough

3

Overscore

20

Programmer Manual

Advertising