End image, Relative line at current position – Compuprint 4247-Z03 Programmer Manual User Manual
Page 193
Parameters P1 to Pn are values that specify the image dot data, a zero indicating the absence of a dot, a
one indicating the presence of a dot. The dots are 0.18 mm (0.007 in. [1/144 in.]) apart horizontally and
vertically.
The image data is in the form of horizontal scan lines (rows), left to right. Each Image Data order specifies
only one scan line (row) of the image. Therefore, the number of Image Data orders following a Begin
Image order must be equal to the value specified in parameters P5 and P6 (the image height) of the Begin
Image order.
Each of the parameters, P1 to Pn, of the Image Data order specifies eight dots. Therefore, parameter L1
of the Image Data order must equal the image width divided by eight. Parameters P3 and P4 of the Begin
Image order specify the image width. If the image width is not a multiple of eight, the printer ignores any
extra dots specified by bits in the last parameter, Pn.
Note: The image data specified in the Image Data Orders between a Begin Image and End Image pair
must exactly fill the area specified by the width and height of the Begin Image order.
This order does not update the current graphics position.
End Image
93
L1
P1-Pn
Description: This order defines the end of an image. A Begin Image order and zero or more Image Data
orders must precede the End Image order.
L1, the length, is a one-byte value that specifies the number of parameter bytes that follow. If no
parameter bytes follow, L1 is zero.
Parameters P1 to Pn are optional. The printer does not use these parameters; if they are present, the
printer discards them.
This order does not update the current graphics position.
Relative Line at Current Position
A1
L1
P1-Pn
Description: This order specifies one or more connected straight lines, like the Line at Current Position
order. With this order, the end point of each line is an offset from the previous end point, rather than an
absolute coordinate pair.
L1 is a one-byte value that specifies the length of the parameter field. L1 must be a multiple of two. The
printer will not draw a line if L1 is zero.
Parameters P1 to Pn are signed, twos-complement, one-byte values that specify the offset, in drawing
units. The first line end point is the graphics current position. P1 specifies the X coordinate for the second
point as an offset from the first point. P2 specifies the Y coordinate for the second point as an offset from
the first point. The remaining parameters, if present, specify additional X and Y coordinate values, as
offsets from each previous end point, following the same format.
The printer uses the current values of color, mix, line type, and line width when drawing the line.
This order updates the current graphics position to the coordinates of the last end point. If there are no
offsets in this order, the current graphics position does not change.
Chapter 4. IPDS Programming Information
173