Select Graphics Mode - Printronix ANSI Printer Programmer's Reference Manual

Printronix printer programmer's reference manual
Table of Contents

Advertisement

Select Graphics Mode

ASCII Code ESC [p1;p2;p3 q
Hex Code
1B 5B p1 3B p2 3B p3 71
Dec Code
27 91 p1 59 p2 59 p3 113
Expression CHR$(27);"[p1;p2;p3q";
Purpose
Selects the graphics mode format and horizontal/vertical density
for dot graphics.
This sequence must be sent before entering the graphics mode
with ESC P.
Discussion The first parameter selects the graphics mode (Table 13). The
second parameter selects the vertical dot spacing (Table 14)
and the third selects the horizontal dot spacing (Table 15).
Table 13. Select Graphics Mode
p1
0
Vertical Format @ 70H x 72V DPI*
1
Invalid, default to 70H x 72V DPI
2
Vertical Format @ 140H x 144V DPI
3
Invalid, default to 70H x 72V DPI
4
Horizontal Format (plot mode)
*p2 and p3 are ignored in this mode.
Table 14. Select Vertical Dot Spacing
p2
0 through 6
144 DPI
7+
72 DPI
Table 15. Select Horizontal Dot Spacing
p3
0 through 3
240 DPI - 544 characters per line
4
180 DPI - 408 characters per line
5
140 DPI - 317 characters per line
6 through 7
120 DPI - 272 characters per line
8 through 10
70 DPI - 158 characters per line
11+
60 DPI - 136 characters per line
Select Graphics Mode
Selects Graphics Mode
Selects Vertical Density
Selects Horizontal Density
47

Advertisement

Table of Contents
loading

Table of Contents