Intermec Janus 2020 Reference Manual - Im_Get_Display_Mode
im_get_display_mode
3-24
im_get_display_mode
Purpose:
This procedure retrieves the current size mode, video mode, scroll mode,
character height, and status code of the display.
Syntax:
With Intrmecd_IO, Intrmecp_IO;
Use Intrmecd_IO, Intrmecp_IO;
procedure im_get_display_mode (
size_mode : OUT IM_STD_SIZE_MODE;
video_mode : OUT IM_STD_VIDEO_MODE;
scroll_mode : OUT IM_SCROLL_MODE;
character_height : OUT IM_CHARACTER_HEIGHT;
status_code : OUT System.Word);
IN Parameter:
None.
OUT Parameter:
The size_mode parameter is required and is one of these constants:
IM_SIZE_MODE_80X25
80 x 25 text mode
IM_SIZE_MODE_20X16
20 x 16 text mode (2010 and 2020)
IM_SIZE_MODE_20X8
20 x 8 text mode (2010 and 2020)
IM_SIZE_MODE_10X16
10 x 16 text mode (2010 and 2020)
IM_SIZE_MODE_10X8
10 x 8 text mode (2010 and 2020)
If IM_SIZE_MODE_80X25 is set, you also need to set the video mode, scroll
mode, and character height.
If any other size_mode is set, the video mode, scroll mode, and character
height are automatically set.
The video_mode parameter requires IM_SIZE_MODE_80X25. The standard
BIOS supports up to mode 13 but the JANUS only supports up to mode 6.
You can also set video modes 0 through 3 with IC.EXE.