Raster Graphics
Graphics can be printed
on
any
LaserJet
family printer by
sending raster files
containing
graphics
information
to
the printer.
You
can print multiple blocks
of
data
(more
than
one
picture)
on
each page
as
long
the
you
do
not
exceed
the
graphics
data
limit
(59 Kbytes/page). (NOTE:
LaserJet+
and
LaserJet
500+
printers
have expanded user memory
(395
Kbytes) which allows more
graphics
data
to
be
printed per page.)
Each raster line has
about
10
bytes
of
overhead associated with it.
This overhead
is
relatively small
for
raster lines
of
lOO
bytes
or
more,
but
becomes
more
dominant
for
very
short
raster lines.
If
text
and graphics
are
mixed,
the
graphics
data
limit
is
reduced by
approximately
four
bytes
for
each
character
printed.
NOTE
The
raster motion
is
perpendicular
to
the
paper's motion through
the
printer.
Portrait
mode is recommended for printing simple
raster
graphics applications.
To
print
raster graphics in the
landscape mode,
you
must
first
move
the
cursor
to
the
right (at
least the length
of
the
graphics) using the horizontal cursor
positioning escape sequences. Otherwise,
the
printer will
attempt
to
print
your graphics in
the
unprintable region
and
your
data
will be lost.
Some programming languages periodically insert Carriage
Return
and
Line Feed
commands
into
the
data, causing blank lines in
the
graphics pattern. These
automatic
CR
and
LF
commands should
be
disabled.
(For
example,
the
command
WIDTH
"LPTl:",255
is
used with IBM BASIC, version
3.0
to
disable
the
automatic
insertion
of
CR
and
LF
commands.
The
command
WIDTH
LPRINT
255
performs
the
same
function
with
BASIC
on
the
HP
150. Consult
your
programming
manual
under
the
WIDTH
command
for
information
on
disabling these commands using
your
programming language.)
2-35