Genicom GEK 00031B User Manual
Page 153

GEK-00029A
5000 Series Programmer’s Manual
153
ESC * m n1 n2
Select Graphics Mode: Selects graphics mode m (see table below) for
v1...vn
n1 + (n2 x 256) columns. The variables n1 and n2 represent the
number of data bytes to be sent that will be interpreted as graphics.
If the number of graphics columns to be printed causes printing to
exceed the right margin, all data beyond that margin will be ignored.
m
Graphics Mode
DPI
0
Single-density
60
1
Double-density
120
2
High-speed double-density
120
3
Quadruple-density
240
4
CRT I
120
5
Plotter (1:1)
60
6
CRT II
120
7
Double-density plotter
120
Decimal:
27 42 n1 n2 v1...vn
Hex:
1B 2A n1H n2H v1H...vnH
BASIC:
CHR$(27);"*";CHR$(m);CHR$(n1);CHR$(n2);
CHR$(v1);...;CHR$(vn);
ESC ? s n
Reassign Graphics Mode: Reassigns the dot density to the graphics
mode specified by ESC K, ESC L, ESC Y, or ESC Z.
s=K, L, Y, or Z
n=dot density (see values below)
n
Horizontal
dpi
Vertical
dpi
0
60
72
1
120
72
2
120
72
3
240
72
4
80 (120)
72
5
72 (60)
72
6
90 (120)
72
7
144 (120)
72
Example:
Normally, when the printer receives the ESC L command, the dot
density is 120 dpi x 72 dpi vertical. By using this command, you can
reassign that density to 60 dpi horizontal x 72 dpi vertical by sending
the following:
CHR$(27);"?";"I";CHR$(0);
NOTE
The emulation converts the values corresponding to n4 through n7
to the ones shown in parenthesis.