Print raster graphics. (epson esc/p2) – Compuprint MDP40B Programmer Manual User Manual

Page 86

Advertising
background image

A-84

ESC .

Print Raster Graphics. (EPSON ESC/P2)

ASCII Code

ESC . c v h m n

1

n

2

d

1

d

2

… d

k

Hexadecimal Value

1B 2E c v h m n

1

n

2

d

1

d

2

… d

k

Decimal Value

27 46 c v h m n

1

n

2

d

1

d

2

… d

k

Range

c = 0,1
v = 10, 20
h = 10, 20
0 < m < 24
0 < n

1

< 255

0 < n

2

< 127

0 < d < 255

This command prints dot graphics in raster format (row by row, left to right) and can
be used only during graphics mode entered by sending the ESC ( G command. It
allows compression of graphics data during raster graphics printing.

The parameters are used as described below:

c

equal to 0 specifies full graphics mode (no compressed)
equal to 1 specifies compressed mode

v

vertical dot density (v/3600 dpi)

h

horizontal density (h/3600 dpi)

m

vertical dot count (rows of dot graphics)

n

1

, n

2

horizontal dot count (columns of dot graphics), according to the following formula:

(horizontal dot count)

n

2

= INT

256

Advertising