beautypg.com

Graphics commands – Epson 8900 Series User Manual

Page 183

background image

Epson FX Printer Emulation Mode 8-31

To select a valid combination of the listed character pitches and
print modes, choose the items you wish to combine and add their
values to find the correct value of n. After finding the decimal value
of n, convert this value to its hexadecimal equivalent for use in the
escape sequence.

For example, to select 12 cpi, expanded, underlined text characters,
add the decimal values 1, 32, and 128 to obtain the sum, 161 (the
value of n). The hexadecimal equivalent of 161 is A1 (from an 8-bit
character table).

The following combinations are invalid.

q 10 cpi and 12 cpi

q Boldface and LQ print

Graphics Commands

The Epson FX graphics feature provides commands that enable you
to design your own images in any shape you desire. These commands
allow you to create and adjust the density of various lines and
patterns in various combinations. The following paragraphs describe
the graphics commands.

To find the values of n1 and n2 for any of the following commands,
modify the procedure described for the Select 60 dpi Graphics
command in Chapter 4. In step 1 of the procedure, substitute the
appropriate dot density value for 60.

Select 60 dpi Graphics

Escape sequence:

ESC

K

n1

n2

Hexadecimal:

1B

4B

n1

n2

This command selects the 8-pin, 60 dpi graphics mode for the
horizontal line length specified by the variable n1 n2.