Customizing Your Configuration—Chapter 5
241TE 2000
5250 Terminal Emulation Programmer’s Guide
Implementing ITCCOLOR.DAT Attribute C olors
Note: The ITCCOLOR.DAT attribute colors were implemented for Wal-
Mart Stores Incorporated.
These ch anges ar e in place for 5055 Data Collection PCs, 700 Series
Computers, and CV60 Vehicle Mount Computers. The registry keys for
Text and Back are still in place for these terminals.
You must name the file ITCCOLOR.DAT and you may place this where
the other TE 2000 configuration files are placed for discovery by the TE
2000 application.
The two registry keys for the default foreground (Text) and background
colors are still used and are set before the color file is read from the follow-
ing keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Intermec\TE2000\BackGroundColor
HKEY_LOCAL_MACHINE\SOFTWARE\Intermec\TE2000\ForeGroundColor
Both keys must exist or the default colors of black background and white
text is used.
The color file contains lines defining the color Index and the Color for
eight normal foreground (Text) and background (Back) color pairs and
eight inverse color pairs for a total of 32 colors. Each line is a maximum of
80 characters. A line can be empty, have leading spaces, have a comment
indicated by a semicolon char acter, have a pair of v alues (color Index and
Color). All characters from a semicolon to the end of the line are ignored.
A line is terminated by a carriage return, line feed character, or both. In-
valid lines are ignored. You may define all, none, or any of the colors in
thefileandinanyorder.Thefilemayexistornot.ThenormalTextcol-
ors are defaulted to black and the Inverse Text color is defaulted to black.
If an Index-Color is not defined or the file does not exist, default colors are
used.
The color Index is a decimal value of 0 through 31. It specifies the charac-
ter attributes associated with Color. The index values are documented in
thesampleITCCOLOR.DATfileonthenextpage.
Color is a 32-bit hex value used to specify an RGB color (0x 00bbggrr ). In
RGB format, the low-order (rr) byte contains a value for the relative inten-
sity of red; the second byte (gg)contains a value for green; and the third
byte (bb) contains a valu e for blue. The high-order byte must be zero. The
maximum value for a single byte is 0xFF.