User's Manual
Control Code Definitions
—
Chapter
5
85
6820 Series 80-Column Printer User’s Manual
Define User-Defined Characters
Characters are redefined by the user in the currently selected mode. How-
ever, they can only be used in draft mode. Note that this function is only
useful with the default SBCS character set.
Format
Decimal Hex ASCII
27380k1k2s1
d1 ... d11
1B 26 00 k1 k2 s1
d1 ... d11
ESC “&”
NUL
k1 k2 s1
d1 ... d11
where k1 is the character code of the first character to redefine, k2 is the
character code of the last character to redefine (any character between
0–255 can b e redefined), and (k1 could equal k2, if only one charac-
ter is d efined).
For each character defined, 12 bytes of data must be supplied, as follows:
where s1 is the first byte that describes the character f ormat. Bits 0–3
represent the end position in the grid, bits 4–6 represent the start posi -
tion in the grid, and bit 7 determines whether the character uses the top
eight pins or the bottom eight pins of the print head. If bit 7 = 0, the
top eight pins are used. If bit 7 = 1, the bottom eight pins are used. The
start and end positions are ignored during character imaging, but must
be accurate to redefine the character code. d1...d11 is the data that com-
prises the dot image pattern of the d efined character.
When printable c ode expansion is enabled w ith ESC
“
I”, the Printable
Code Area Expansion function, and the user-defined character set is selected
with ESC
“
%” (1), the Select User-Defined Set function, then the codes
(less than 20h and greater than 7Fh) can be defined for use and are print-
able.
When printable c ode expansion is enabled with the Enable Printing of
Codes 128-255 function, and the user-defined character set is selected with
the Select User-Defined Set function, then codes (between 80h and 9Fh)
can be defined for use and are printable.
For a list of these characters, refer to the Printable Code Expansion Charac-
ters table on page 87.
Select User-Defined Character Set
A user-defined character set can be selected, after the Define User-Defined
Characters function is used to define the character set. Note hhis function is
only useful with the default SBCS Character Set.
Format
Decimal Hex ASCII
27 37 1 1B 25 01 ESC “%” (1)