Graphics Functions; Eight-Pin Graphics Modes; Select Graphics Mode; Reassign Graphics Mode - Intermec 6820 Technical Reference Manual

Intermec 6820: reference guide
Hide thumbs Also See for 6820:
Table of Contents

Advertisement

Control Code Definitions
"
For character values from 128 to 255 (80h--FFh):
"
"

Graphics Functions

Eight-Pin Graphics Modes

All 8-pin graphics functions require parameters, n1 and n2, which represent 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 = remainder of the n2 calculation
The simplest calculation, is to divide 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 (Table 3-4, Graphics Modes) is
enabled. The total number of dot columns to be printed 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
27 42 m n1 n2

Reassign Graphics Mode

Graphic modes (shown in table below) can be changed with this function.
Format:
Decimal
27 63 s n
where: s = one of the following characters (K, L, Y, or Z)
3-24
6820 Printer Technical Reference
When other SBCS codepages are selected:
the character graphics symbol is printed.
When the default SBCS codepage is selected:
the FX-86e Epson Character Graphics set is printed.
When other SBCS codepages are selected:
the corresponding character is printed.
Hex
1B 2A m n1 n2
Hex
1B 3F s n
n = one of the modes (0--7), as shown in Table 3-4 on the next page.
ASCII
ESC "*" m n1 n2
ASCII
ESC "?" s n
SECTION 3

Advertisement

Table of Contents
loading

Table of Contents