To
send raster graphics data
to
the
printer, the following
four
escape sequences are used.
The
four
sequences should be sent
to
the printer
in
the order shown here:
1)
Raster graphics resolution
2)
Start raster graphics
3)
Transfer raster graphics
4)
End raster graphics
The
start, transfer, and end raster graphics commands must be
sent with
every block
of
graphics data you send
to
the printer.
The
raster graphics resolution
command
need only be sent when
you wish
to
change the resolution.
RASTER GRAPHICS RESOLUTION
All LaserJet family printers have the capability
of
printing
graphics
at
variable resolution: 300,
150,
100,
and
75
dots
per
inch
(OPI). The following escape sequence sets
the
resolution at which
the
following graphics data will be printed:
#
= Resolution
(75,
100,
150,
or
300 dpi)
The
value field (#) specifies the resolution
(75,
100,
150,
or
300) in
dots per inch.
For
example,
to
set' the resolution
to
300 dots per
inch, the Ec*t300R sequence would
be sent
to
the printer.
The
default
resolution
is
75
dots
per
inch. This command should
be sent before the start graphics command. Once the start
graphics command
is
received by
the
printer, the
Ec*t#R
command
is
ignored until the end graphics
command
is
received.
Since
the
LaserJet printer graphics memory limit
is
59
Kbytes/page, the size
of
the raster image
is
limited by the
resolution used NOTE:
59
Kb is valid for typical pictures.
However, attempting to print several independent vertical lines
can
significantly reduce the total raster image size. The following
table lists the approximate maximum raster image size (in square
inches)
for
each resolution
(for
all
LaserJet
family printers):
2-36