Intermec 5055 Reference Guide

Page of 216
im_set_display_mode
5-66
im_set_display_mode
Purpose:
This function sets the character height of the display. Scroll and wrap parameters are
included for compatibility with other PSKs, such as JANUS, 6400, and Trakker
Antares.
Syntax:
#include "im5055.h"
IM_STATUS im_set_display_mode
    (IM_FONT_TYPE 
font
,
    IM_BOOL 
scroll
    IM_BOOL 
wrap
);
IN Parameters:
font    Specifies the font type code. Choose one of these constants:
IM_FONT_STANDARD    Text is 5 x 7 pixels, the scroll boundary is line 14, and the
wrap boundary is column 19.
IM_FONT_LARGE    Text is 5 x 14 pixels, the scroll boundary is line 7, and the wrap
boundary is column 19.
IM_FONT_SPECIAL    Text is 10 x 14 pixels.
scroll    Scrolling always on.
wrap    Wrapping always on.
OUT Parameters:
None.
Return Value:
This function returns one of these codes:
IM_SUCCESS    Success.
IM_INVALID_PARAM_1    Invalid font parameter.
Note:
IM_FONT_STANDARD may be ORed with IM_TEXT_MODE to force the display
into text mode for faster display capabilities. When in text mode, the IM_UNDERLINE
attribute is not supported. To return to the normal display mode, call
im_set_display_mode with IM_FONT_STANDARD.
See Also:
im_get_display_mode, im_get_display_type, im_get_display_size_physical