beautypg.com

Compuprint 4247-Z03 Programmer Manual User Manual

Page 180

background image

Decimal

Hex

Content

Description

1

1

0C

Length of the Following Parameters in BSI

2-5

2-5

NAME

Name of Segment (Printer ignores this field)

6

6

00

Reserved

7

7

Bit 0-2

Reserved (Must be Zeros)

Bit 3

Prologue Flag

0 - No Prologue

1 - Prologue

Bit 4

Reserved

Bit 5-6

Segment Flags

00 - New Segment (Reinitialize Current Drawing Attributes)

11 - Append This Segment to the Previous Segment (Do Not
Reinitialize Current Drawing Attributes)

Bit 7

Reserved

8-9

8-9

LEN

Length of Created Segment

10-13

A-D

NAME

Predecessor/Successor Name (The Printer Ignores This Field)

14-n

E-n

ORDER

Drawing Order or Orders (The Number of Bytes in This Field
Must Equal the Length Field, Bytes 8-9)

If bit 3 of byte 7 is on, a prologue is the first sequence of drawing orders in a new segment. The prologue,
if present, is always at the beginning of a new segment's data and ends by an End Prologue order within
the same segment.

If bits 5 and 6 of byte 7 are zero, the drawing attributes are re-initialized to the current default values. If
bits 5 and 6 of byte 7 are equal to 11, this segment appends to the previous segment and the current
drawing attributes do not reinitialize.

Drawing Orders: One or more drawing orders follow each Begin Segment Introducer. The format of a
drawing order is:

Order Code

Order Code

Parameter(s)

Order Code

Length

Parameter(s)

The order code specifies the type of graphics to print or the assigned drawing attribute.

The Length field, if present, is a one byte value that specifies the length of the drawing order following this
byte. See the specific drawing orders for information about the length field.

The parameter bytes contain the specific characteristics for the drawing order. For information about the
parameters, see the specific drawing orders, following this description.

160

Programmer Manual

This manual is related to the following products: