User's Manual

Control Code Definitions
Chapter
5
89
6820 Series 80-Column Printer User’s Manual
For the character value 127 (7Fh):
S When the default SBCS codepage is selected, a space is printed
S When other SBCS codepages are selected, the character graphics symbol
is printed.
For character values from 128 to 255 (80h–FFh):
S When the default SBCS codepage is selected, the FX-86e Epson Char-
acter Graphics set is printed.
S When other SBCS codepages are selected, the corresponding character is
printed.
Graphics Functions
Eight-Pin Graphics Modes
All 8-pin graphics functions require parameters, n1 and n2,whichrepre-
sent the length of the graphics string that follows the Select Graphics Mode
command, and are calculated as follows (assuming a temporary variable n):
n = total number of graphics dots needed for the graphic string
n2 = integer of (n divided by 256)
n1 =remainderofthen2 calculation
The simplest calculation, is to d ivide n (total number of dots needed for
the graphics string) by 256. Then n2 is the quotient (the whole number)
and n1 is the remainder. If you require less than 256 dots (columns), then
n1 indicates the number of dots and n2 is set to zero.
Select Graphics Mode
The graphic mode, represented by the variable m (Graphics Modes table) is
enabled. The total number of dot columns to print is represented by n1
and n2 (see parameter descriptions above). Any graphic string that exceeds
the length of the print line is discarded.
Format
Decimal Hex ASCII
27 42 m n1 n2 1B 2A m n1 n2 ESC “*” m n1 n2
Reassign Graphics Mode
Graphic modes (shown in table below) can be changed with this function.
Format
Decimal Hex ASCII
27 63 s n 1B 3F s n ESC “?” s n
where s is one of the “K,” “I,” “Y,” or “Z” characters and n is one of the
07modesasshownintheGraphics Mode table on the next page.