Esc x, And n, Define size by point (1 point equals 1/72 inch) – Compuprint MDP40B Programmer Manual User Manual

Page 64

Advertising
background image

A-62

m = 0 maintains current density
m = 1 sets proportional spacing
m > 5 selects fixed pitch equal to 360/m cpi

This command overrides the current pitch setting.

This command selects the point (default value 10.5) attributes of the font according to
the following formula:

(n

2

x 256) + n

1

Point size =

2

n

1

and n

2

define size by point (1 point equals 1/72 inch).

(point size) x 2

n

2

= INT

256

(point size) x 2

n

1

= MOD

256

The point sizes available are the following: 8, 10, (10.5), 12, 14, 16, 18, 20, (21), 22, 24,
26, 28, 30, 32.

ESC x

Selects Letter Quality or Draft printing. (EPSON ESC/P2)

ASCII Code

ESC x n

Hexadecimal Value 1B 78 n
Decimal Value

27 120 n

This command selects either LQ or Draft printing according to the following values:

n

Selection

0

Draft printing

1

Letter Quality printing

Advertising