Printronix P5000LJ 参考手册
Graphics Control Codes Overview
109
An escape sequence uses two or more bytes to define a specific printer
control function. The format for an escape sequence is:
control function. The format for an escape sequence is:
After the ESC character are one or more characters which indicate the action
of the control code. One or more numerical parameters may in turn follow
these characters. For example, the sequence ESC S
of the control code. One or more numerical parameters may in turn follow
these characters. For example, the sequence ESC S
n tells the printer to
begin the superscript print attribute if
n is an even number, or to begin the
subscript attribute if
n is an odd number.
If the characters following the ESC code are not within the defined ranges, or
if they are within the defined ranges but not recognized as a function of this
printer, the entire sequence is ignored.
if they are within the defined ranges but not recognized as a function of this
printer, the entire sequence is ignored.
Graphics Control Codes Overview
The individual control codes that set graphics print quality are described
starting on page 115. Some additional background information about graphics
printing for the Proprinter III XL emulation is provided here.
starting on page 115. Some additional background information about graphics
printing for the Proprinter III XL emulation is provided here.
The Proprinter III XL emulation provides one data protocol for printing
graphics information; the Bit Image graphics protocol allows an image block to
be printed. When using the Bit Image protocol, you can mix text and graphics
on the same line.
graphics information; the Bit Image graphics protocol allows an image block to
be printed. When using the Bit Image protocol, you can mix text and graphics
on the same line.
Setting Bit Image Modes via Control Codes
Control codes select bit image modes. The following bit image modes can be
mixed on the same line as text characters:
mixed on the same line as text characters:
Parameters
n1 and n2 together represent a 16-bit (hexadecimal) unsigned
number of the quantity (
n1 + 256n2), which equals the number of bit image
characters (i.e. data bytes) to follow. If
n1 and n2 are programmed so that
data extends past the last character position, the data is truncated at the last
character position. If
character position. If
n1 and n2 are both zero, the ESC sequence is ignored.
See Chapter 6 for details on bit image graphics.
ASCII
ESC
X
n
Hex
1B
00-7F
0-FF
Escape Sequence
Introducer
Introducer
Character(s)
Numerical
parameter(s)
parameter(s)
Table 28. Bit Image Modes
Control Code
Bit Image Mode
ESC K
n1 n2 data
Normal Density
ESC L
n1 n2 data
Double Density
ESC Y
n1 n2 data
Double Density, Double Speed
ESC Z
n1 n2 data
Quadruple Density