Worth Data 7100 RF Terminal Series Owner's Manual page 47

Portable radio frequency terminal
Table of Contents

Advertisement

Color Display Programming
New commands have been added to take advantage of the larger color display on the LT7001. You now have the ability to define the
color and font size on a line by line basis.
There are 16 possible text and background colors available to choose from. They are the same 16 colors used in HTML programming.
The @C command has been expanded to set the foreground and background colors for the entire display and within the same com-
mand you can also set the font size for the entire display to all be the same or split up the display using different size fonts for each
line.
The command structure is as follows:
Where:
@C are the 2 header bytes
f: is the font size and can be either S, M or L for small, medium or large
n: is the number of lines being defined
\cb: defines the user default colors, c=text color, b=background color
The \cb command can also change the active text/background color within a prompt at any time.
All screen formatting and color commands are dynamic and not stored in the unit so they will need to be sent at every sign-in.
The color codes are:
0 = AQUA
4 = GRAY
8 = NAVY
C = SILVER
Here are some examples:
will clear the screen and set the first two lines of the screen to be small fonts, the next two lines to be medium fonts, and the next two
lines to be large fonts. The remaining undefined lines will be small font with the default colors. The default colors will be used since
there is no \cb at the end of the command.\
followed by:
will display "Warning" on the first line in small font with RED text on a WHITE background, "Invalid Data" on the third line in me-
dium font with BLUE text on a BLACK background and "Data" on the 5
ground. The cursor will be positioned after the "Data" on the 5
on SILVER.
Remember that if you only define 6 lines then the remaining lines on the screen will be defined as small font with the default colors.
When you are defining the font size for each line of the screen be aware that the total pixel count of all the lines defined cannot exceed
the height of the screen.
The total height of the screen is 240 pixels. A small font is 16 pixels tall, a medium font is 24 pixels tall and a large font is 32 pixels
tall.
If you define 2 lines with small fonts, 2 lines with medium fonts and 2 lines with large fonts you will be using
(2x16)+(2x24)+(2x32)=144 pixels out of a maximum of 240 pixels. The top 144 pixels of the display will be used, the bottom 96 pix-
els will be divided into 6 lines (96/16=6) of small font..
If you attempt to define a combination of fonts that exceeds 240 pixels total, a ? will be returned to the host for invalid command.
1 = BLACK
5 = GREEN
9 = OLIVE
D = TEAL
@1,1,0,\BEWarning@3,1,0,\21Invalid Data@5,1,1,\ACData<EOT>
@C[fnfnfn...][\cb]
2 = BLUE
6 = LIME
A = PURPLE
E = WHITE
@CS2M2L2
th
line in large font with PURPLE text on a SILVER back-
th
line and entered text will be in the last color combination, PURPLE
42
3 = FUCHSIA
7 = MAROON
B = RED
F = YELLOW

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 7100 RF Terminal Series and is the answer not in the manual?

Table of Contents