Begin image, Relative line – Compuprint 4247-Z03 Programmer Manual User Manual
Page 196
The scale value acts as a multiplier for the arc parameters, as follows:
For a circle: The radius is P5P6 x r. A previous Set Arc Parameters order specifies the value of r. For an
ellipse: The major axis is P5P6 x a and the minor axis is P5P6 x b.
A previous Set Arc Parameters order specifies the values for a and b. The printer uses the current values
of color, mix, line type, and line width when drawing the arc.
This order does not update the current graphics position.
Begin Image
D1
0A
P1-P10
Description: This order defines an image at the graphics position specified by parameters P1 to P4. An
image consists of a rectangular region defined in increments of 1/144 in. One or more Image Data orders
follow the Begin Image order. The Image Data orders contain the image data itself. The Begin Image order
introduces a graphics image. Only Image Data, Comment, or No-op orders are valid between Begin Image
and End Image orders.
Parameters P1 and P2 form a two byte value that specifies the X coordinate for the start of the image.
Parameters P3 and P4 form a two byte value that specifies the Y coordinate for the start of the image.
Parameters P1 to P4 define the location of the top left corner of the image. Parameters P5 and P6 are
always zero for this order. Parameters P7 and P8 form a two byte value that specifies the width of the
image in increments of 1/144 in. Parameters P9 and P10 form a two byte value that specifies the height of
the image in increments of 1/144 in.
The printer draws the image in the current values of color and mix.
This order updates the current graphics position to the coordinates of the image (parameters P1 to P4).
Notes:
1. The Begin Image at Current Position order always specifies the width and height of the image in
increments of 1/144 in., not in drawing units.
2. By sending the image ordered (immediate) instead of unordered (deferred), the printer uses less
storage.
Relative Line
E1
L1
P1-Pn
Description: This order specifies one or more connected straight lines, like the Line order, except that the
end point of each line is an offset from the previous end point.
L1 is a one-byte value that specifies the length of the parameter field that follows. A value of zero for L1 is
invalid; L1 must be a multiple of 2. If the value of L1 is two, the printer does not draw the line. However,
the printer does update the graphics current position to the point specified by P1 and P2.
Parameters P1 to Pn are signed, twos-complement, one-byte values that specify the offset in drawing
units. Parameters P1 and P2 form a two byte value that specifies the X coordinate of the first end point of
the line. Parameters P3 and P4 form a two byte value that specifies the Y coordinate of the first end point
of the line. Parameter P5 is a signed, twos-complement, one-byte value that specifies the X coordinate of
the second end point as an offset from the first end point. Parameter P6 is a signed, twos-complement,
176
Programmer Manual