Intermec 5055 Reference Guide

Page of 216
im_get_display_mode
5-24
im_get_display_mode
Purpose:
This function returns the display font, character height and width, and scrolling and
wrapping status.
Syntax:
#include "im5055.h"
IM_STATUS im_get_display_mode
    (IM_FONT_TYPE far *
font
,
    IM_UCHAR far *
phys_width
,
    IM_UCHAR far *
phys_height
,
    IM_BOOL far *
scroll,
    IM_BOOL far *
wrap
);
IN Parameters:
None.
OUT Parameters:
font    Specifies the font type and is one of these constants:
IM_FONT_STANDARD    Text is 5 x 7 pixels.
IM_FONT_LARGE    Text is 5 x 14 pixels.
IM_FONT_SPECIAL    Text is 10 x 14 pixels.
phys_width    Specifies the width of the physical display in the number of characters in
the current font that the display can hold (columns).
phys_height    Specifies the height of the physical display in the number of characters in
the current font that the display can hold (rows).
scroll    Scrolling always on.
wrap    Wrapping always on.
Return Value:
IM_SUCCESS    Success.
Notes:
To omit a parameter, set it to 0. No information for that parameter is returned.
See Also:
im_set_display_mode