Following the specification of the range of characters to be defined in
this command is one number
(al)
that specifies the width of the
character and whether it uses the top eight pins or the bottom eight pins.
The last part of the character definition is the actual data that defines
the dot patterns for each column of each character. Since a character
can use up to eleven columns, you must supply eleven data numbers
for each character even if some of the columns are blank.
An example character definition program should make the process
clear:
In line 100, the ESC x 0 command selects draft style printing. The
actual character definition starts in line 110. The two at signs (@) in line
120 are
nl
and
n2,
the range of characters being defined (in this case, a
range of one). Line 130 contains
al.
The information about the character design (which is contained in the
data statements at the end of the program) is sent to the printer in the
loop between lines 140 and 160.
This example program defines a heart and places it in the area of
RAM reserved for ASCII code 64, which corresponds to the at sign in
the characters in the ROM. The next part of the program (lines 170-210)
prints out a threeline sample. The first and third lines contain at signs;
the second line contains the heart that was defined.
Graphics and User-defined Characters
6 - 1 5
Summary of Contents for EX-1000
Page 1: ......
Page 11: ......
Page 29: ...1 18 Setting Up the Printer ...
Page 38: ......
Page 46: ...3 8 Using the EX with Application Programs ...
Page 51: ......
Page 57: ...5 6 EX Printer Features ...
Page 76: ......
Page 81: ...Command Summary A 5 ...
Page 82: ...A 6 Command Summary ...
Page 121: ......
Page 123: ...Table B 1 Epson mode characters B 2 Character Tables ...
Page 124: ...Table B 1 continued Character Tables B 3 ...
Page 125: ...Table B 1 continued B 4 Character Tables ...
Page 126: ...Table B 1 continued Character Tables B 5 ...
Page 127: ...Table B 1 continued B 6 Character Tables ...
Page 128: ...Table B 1 continued Character Tables B 7 ...
Page 129: ...Table B 1 continued B 8 Character Tables ...
Page 133: ...Table B 4 IBM printer emulation mode characters B 12 Character Tables ...
Page 134: ...Table B 4 continued Character Tables B 13 ...
Page 135: ...Table B 4 continued B 14 Character Tables ...
Page 137: ...Table B 4 continued B 16 Character Tables ...
Page 139: ...Table B 4 continued B 18 Character Tables ...
Page 151: ...D 8 Problem Solving and Maintenance ...
Page 157: ...E 6 Defaults and DIP Switches ...
Page 172: ......
Page 173: ...G 8 Technical Specifications ...
Page 183: ...IN 4 Index ...
Page 184: ...Quick Reference ...
Page 186: ......
Page 187: ......
Page 188: ......
Page 189: ......
Page 190: ......