Справочное Руководство для Intermec 5055
im_irl_v
5-41
5
im_irl_v (continued)
IN/OUT
source Determines which input sources are allowed. When the IRL V command
Parameters:
returns, source indicates where the data came from. When both keypad and label inputs
are allowed, the source always returns keypad because it is possible for keyed and
scanned data to be intermixed. Although intermixing is possible, it is not likely to occur.
are allowed, the source always returns keypad because it is possible for keyed and
scanned data to be intermixed. Although intermixing is possible, it is not likely to occur.
If you have both the keypad and scanner enabled, and you want to know where the data
came from, first check
came from, first check
• if the symbology is IM_UNKNOWN_DECODE, then the data came from the
keypad.
• if the symbology is one of the other values (such as IM_CODE_39), then some or
all of the data came from the scanner.
If only the scanner is enabled, then all of the data came from the scanner.
source can be one of these constants:
IM_NO_SELECT No input source selected.
IM_COM1_SELECT COM1 input.
IM_COM2_SELECT COM2 input.
IM_NET_SELECT Network input RF port or Ethernet port on enhanced I/O board.
IM_SCAN_PORT_SELECT RS-232 port input.
IM_LABEL_SELECT Label input from any attached scanner.
IM_KEYBOARD_SELECT Keyboard input.
IM_ALL_SELECT All input sources.
OUT Parameters:
instring Input string. You must allocate at least 1024 bytes for instring if the input
source includes the network port or COM1.
source includes the network port or COM1.
cmd_count Returns a 0.
symbology One of these constants:
IM_UNKNOWN_DECODE Unknown bar code.
IM_CODABAR Codabar bar code.
IM_CODE_11 Code 11 bar code.
IM_CODE_16K Code 16K bar code.
IM_CODE_39 Code 39 bar code.
IM_CODE_49 Code 49 bar code.
IM_CODE_93 Code 93 bar code.