Changing Display Modes; Using Input Modes - Intermec 5055 Reference Manual

Programmer's software kit
Hide thumbs Also See for 5055:
Table of Contents

Advertisement

Converting Trakker Antares, 6400, and JANUS Applications to 5055 Applications
JANUS PSK Functions That Must be Modified (continued)
JANUS PSK Function
im_set_display_mode
im_set_input_mode
im_set_keyclick
im_set_warmboot
im_setup_trx
im_standard_trx
im_transmit_buffer
im_transmit_buffer_noprot
im_transmit_byte
im_unlink_com

Changing Display Modes

The JANUS devices use different display modes than the 5055. Both use
im_get_display_mode and im_set_display_mode, but they pass a different number of
parameters and set different attributes. You need to rewrite program segments that set
or check for display mode values.
JANUS PSK Display Mode Syntax
#include "im20lib.h"
IM_USHORT im_get_display_mode

Using Input Modes

The 5055 PSK and JANUS PSK support three different input modes: Wedge mode,
Programmer mode, and Desktop mode. The differences between these modes are more
important on JANUS devices than on 5055 PCs.
Wedge Mode
In Wedge mode, keypad and label inputs go directly into the keyboard buffer. Any
reader commands are executed and saved. For JANUS devices, Wedge mode is the
default mode at the DOS prompt after you load reader services (
Wedge mode when your program uses Microsoft C functions on the JANUS device.
5055 PSK Differences and Solutions
5055 PSK passes different arguments. See "Changing Display Modes" later in this
chapter.
See "Using Input Modes" later in this chapter.
Use im_command("KCdata"), where data is 0 (disable) or 1 (enable). For more
information, see Chapter 7, "Configuration Command Reference."
Not supported on 5055. Use the hot key to control application instead.
Not supported on 5055. Do not use.
Not supported on 5055. Do not use.
5055 PSK has a larger maximum for timeout. See "Setting Timeout Values" later
in this chapter.
Not supported on 5055. Do not use.
Use im_transmit_buffer.
5055 does not need to link or unlink to use communications ports. Do not use.
(IM_STD_SIZE_MODE * size_mode ,
IM_STD_VIDEO_MODE * video_mode ,
IM_SCROLL_MODE * scroll_mode ,
IM_CHARACTER_HEIGHT * char_ht );
5055 PSK Display Mode 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 );
RSERVICE.EXE
4
). Use
4-9

Advertisement

Table of Contents
loading

Table of Contents