beautypg.com

Set pattern set, Set color, Set mix – Compuprint 4247-Z03 Programmer Manual User Manual

Page 182

background image

Description: This order is for compatibility with existing products and is a No Operation order.

Set Pattern Set

08

P1

Description: This order sets the value of the current pattern set attribute. Parameter byte P1 has the
following value:

00

Pattern default

Set Color

0A

P1

Description: This order sets the value of the current graphic color attribute. The color for non-graphics (for
example, text) does not change with this order. The color attribute applies to all following graphic drawing
orders until another Set Color order or Set Extended Color order occurs or until a new graphic segment
initializes the graphic attributes. This order does not change any other graphic drawing attributes.

Parameter P1 specifies the color, as follows:

Hex

Color (See note)

00

Current Default

07

Black

08

Color of Medium

Note: The 4247 Printer provides Limited Simulated Color Support. All architecturally defined color values

for graphics data are accepted and result in simulation of the specified colors without generation of
unsupported color exceptions. All valid colors not listed in the above table (X'01' through X'06') are
simulated by printing in black.

If the color requested is not available, the printer uses black. If this occurs, the Exception Handling
Control determines whether to report this condition. The EHC also determines whether to continue
with the Write Graphics command.

For all color selections except the color of the medium, graphics prints in black. These selections
overpaints previous graphics (if of a different color) by changing the color of the dots to print. For a
color of medium selection, following graphics overpaints previous graphics by deleting (erasing) the
dots to print.

Set Mix

0C

P1

Description: This order sets the value of the current mix attribute. The mix controls the way that the
printer combines the color of the foreground with the color of the medium presentation space. Parameter
byte P1 contains the value of the current mix attribute. The only valid values for this byte are:

00

Use the default (overpaint)

02

Overpaint - The color attribute value of the foreground replaces the color attribute value of the
graphics medium presentation space.

162

Programmer Manual

This manual is related to the following products: