GDDM-PGF V2R1.3 OPS User's Guide
|
Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF |
BOOK
Coloring text GDDM-PGF V2R1.3 OPS User's Guide SC33-1776-00 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specify the color of text with the COLOR command:
color red
col red
Text is not limited to the seven colors valid for alphanumeric fields but
can be written with any of the basic GDDM colors listed below.
All color values may be expressed either by number (-2 to 16), or by a valid, unique abbreviation of the English color name. The full range of color values and their associated names looks as follows, with minimum abbreviations shown in uppercase:
___ Basic GDDM colors __________________________________________________
| |
| |
| 1 Blue |
| |
| 2 Red |
| |
| 3 Pink or MAgenta |
| |
| 4 Green |
| |
| 5 Turquoise or Cyan |
| |
| 6 Yellow |
| |
| 7 White |
| |
| |
| (for text and graphics also): |
| |
| |
| |
| -2 WW (always white) |
| |
| -1 NN (always black) |
| |
| 0 Default |
| |
| 8 None or NEutral |
| |
| 9 DArkblue |
| |
| 10 Orange |
| |
| 11 PUrple |
| |
| 12 DARKGreen |
| |
| 13 DARKTurqoise |
| |
| 14 Mustard |
| |
| 15 GRAy or GREY |
| |
| 16 BRown |
| |
| |
|________________________________________________________________________|
-2 (always white) appears white on a display, and white on a hardcopy. -1 (always black) is black on a display and black on a hardcopy. 0 (default) is green on a display, and black on a hardcopy. The hue of values above 8 depends on the device. If the device supports only eight colors, which is true for all IBM plotters and displays except the PS/2 and 3270 PC (AT)/GX, the values 9 to 16 are mapped onto 1 to 8 by GDDM. The following scheme applies (where PS/2 also covers the GX):
To get a graphic overview of available colors, type ? after COLOR:
color ?
If the infile contains TRC control characters in column 2, you can define
a color for up to four TRC-values using the COLOR command. The following
example:
color r g brown pu
makes text in lines with TRC-value 0 red, text in lines with TRC-value 1
green, and so on.
If you specify fewer colors than the number of TRC-values, the last color defined is used for the additional TRC-values. However, OPS will select unique colors for codes that do not have their own symbol set, so you can always distinguish the different TRC-coded lines, either because of the symbol set or because of the color. |
Copyright IBM Corporation 1990, 2012 |