beautypg.com

Set extended color, Set pattern symbol – Compuprint 4247-Z03 Programmer Manual User Manual

Page 185

background image

Set Extended Color

26

02

P1

P2

Description: This order functions the same as the Set Color order except that it specifies a length field
and the color parameter contains two bytes. The color for non-graphics (for example, text) does not
change with this order.This order does not change any other graphic drawing attributes.

This order aids graphics interchange compatibility.

Parameters P1 and P2 form a two byte value that specifies the color, as follows:

Hex

Line Type

0000

Current Default

0008

Black

FF00

Black

FF07

Black

FF08

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'0001' through X'0007',
X'0009' through X'0010', and X'FF01' through X'FF06') are simulated by printing in black.

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

Set Pattern Symbol

28

P1

Description: This order sets the value of the current shading pattern attribute for subsequent area
shading. For additional information, see “Begin Area” on page 169 and “End Area” on page 168.

Parameter P1 specifies the pattern attribute value. This value determines which particular pattern from the
pattern symbol set the printer uses to shade (fill) the interior of subsequent areas. The pattern attribute
values are:

Hex

Line Type

00

Current Default

01 - 08

Density 1 to Density 8 (Decreasing)

09

Vertical Lines

0A

Horizontal Lines

0B

Diagonal Lines 1 (Bottom Left to Top Right)

0C

Diagonal Lines 2 (Bottom Left to Top Right)

0D

Diagonal Lines 1 (Top Left to Bottom Right)

0E

Diagonal Lines 2 (Top Left to Bottom Right)

Chapter 4. IPDS Programming Information

165

This manual is related to the following products: