beautypg.com

Full arc at current position, Begin image at current position, Image data – Compuprint 4247-Z03 Programmer Manual User Manual

Page 192

background image

This order updates the current graphics position to the coordinates of the last point.

Full Arc at Current Position

87

02

P1

P2

Description: This order specifies a full arc (circle or ellipse) with the center at the current graphics
position. A previous Set Arc Parameters order determines the shape and orientation of the arc. If no Set
Arc Parameters order has been received, then the printer draws an arc using the default values of the arc
parameters.

Parameters P1 and P2 form a two byte value that specifies the scale. P1 specifies the integer portion of
the scale; P2 specifies the fractional portion of the scale (P2 divided by 256). For example, if P2 equals
X'40', the decimal value of P2 is 64. This value (64) divided by 256 equals the fraction one-fourth.

The scale value acts as a multiplier for the arc parameters. For a circle, the radius is P1P2 x r. A previous
Set Arc Parameters order specifies the value of r.

For an ellipse: The major axis is P1P2 x a, the minor axis is P1P2 x b, and 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 at Current Position

91

06

P1-P6

Description: This order defines an image, with the top left corner of the image at the current graphics
position. An image consists of a rectangular region with a resolution of one pel, defined in increments of
0.18 mm (0.007 in. [1/144 in.]). Each pel, therefore, represents one dot in the printed image. One or more
Image Data orders follow the Begin Image at Current Position order. The Image Data orders contain the
image data itself. The Begin Image at Current Position 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 are always zero for this order. Parameters P3 and P4 form a two byte value that
specifies the width of the image in increments of 0.18 mm (0.007 in. [1/144 in.]). Parameters P5 and P6
form a two byte value that specifies the height of the image in increments of 0.18 mm (0.007 in. [1/144
in.]).

The printer uses the current values of color and mix when drawing the image.

Note: The Begin Image at Current Position order always specifies the width and height of the image in

increments of 0.18 mm (0.007 in. [1/144 in.]), not in drawing units.

Image Data

92

L1

P1-Pn

Description: This order specifies the image data for all or part of an image introduced by a Begin Image
order. A Begin Image order must precede an Image Data order.

L1 is a one-byte value that specifies the length (in bytes) of the image data that follows. Valid values for
L1 are X'00' through X'FF'.

172

Programmer Manual

This manual is related to the following products: