Intermec Janus 2020 Reference Manual - Im_Get_Contrast
im_get_contrast
3-20
im_get_contrast
Purpose:
This procedure retrieves the reader’s display contrast level. There are eight
levels of contrast from very light (level 0) to very dark (level 7).
Syntax:
With Intrmecd_IO, Intrmecp_IO;
Use Intrmecd_IO, Intrmecp_IO;
procedure im_get_contrast (
contrast : OUT System.Byte;
status_code : OUT System.Word);
IN Parameter:
None.
OUT Parameter:
The contrast parameter is a number from 0 to 7 or is one of the following
constants:
IM_MIN_CONTRAST 0
minimum
contrast
IM_MAX_CONTRAST
1
maximum contrast
The status_code parameter is a standard status code listed in Appendix A,
“Status Codes.”
Notes:
The functions im_set_contrast and im_get_contrast use a scale of 0 to 7 that
is related to the scale of 0 to 31 used by im_increase_contrast and
im_decrease_contrast. The following table shows the equivalent values for
the 0 to 7 scale.
Scale 0 to 7
Scale 0 to 31
Level
0
10
Very light
1
12
2
14
3
16
4
18
5
20
6
22
7
24
Very dark
This function has no effect on the JANUS 2050.