START RASTER GRAPHICS
The
following escape sequence notifies
the
printer
that
raster
graphics will follow and also specifies
the
starting position:
# =0
or
I
The
value field
(#
= 0
or
1)
specifies
the
starting position. A
value field
of
zero specifies
that
the graphics should be started at
the
left-most printable position
on
the
page (not the left margin).
A value field
of
one
specifies
that
the starting position
is
the
current cursor position and the left graphics margin
is
set
to
the
current x (horizontal) position. Before you send this command,
you may move the cursor (currently active printing position)
using
the
cursor-positioning escape sequences. Then, when you
start printing, the upper left corner
of
the
graphics image will be
printed where you moved the cursor. NOTE: When printing
graphics in the landscape
mode,
the "left" graphics margin becomes
the margin
at
the top of the page.
Once
the
start raster graphics command
is
received by the printer,
the graphics resolution and left graphics margin are fixed (until
the end raster graphics command
is
received).
TRANSFER RASTER GRAPHICS
The
following escape sequence prepares
the
printer
to
receive a
specific number
of
bytes
of
data
and
transfers the graphics data
to
the printer:
Ec*b#W[raster data]
# = Number
of
bytes in this line
of
data
NOTE:
The
brackets in the above escape sequence are used for
clarity. Do not include the brackets when sending the escape
sequence
to
the printer.
2-38