im_get_label_symbology
4-18
im_get_label_symbology
Purpose
This function gets the symbology, such as Code 39, from the most recently
scanned label. Call this function after receiving data using im_receive_input
or im_receive_field.
Syntax
#include "imt209x.h"
IM_STATUS im_get_label_symbology
(IM_DECTYPE far
*symb);
IN Parameters
None.
OUT Parameters
symb Identifies the label symbology and is one of these constants:
IM_UNKNOWN_DECODE Unknown bar code.
IM_CODABAR Codabar bar code.
IM_CODE_39 Code 39 bar code.
IM_CODE_128 Code 128 bar code.
IM_I_2_OF_5 Interleaved 2 of 5.
IM_MSI MSI bar code.
IM_UPC Universal Product code.
Return Value
This function returns one of these codes:
IM_SUCCESS Successfully retrieved.
IM_NO_SYMBOLOGY No symbology code available, or no scans
received.
See Also
im_receive_input, im_receive_field, im_get_label_symbologyid
Example
/********************* im_get_label_symbology **********************/
#include <conio.h>
#include "stdio.h"
#include "im209x.h"
static char *bar_code[] = {
"unknown",
"Code 39", /* See typedef enum { ...} IM_DECTYPE in Im209x.h*/
"I 2 of 5",
"Codabar",
"UPC and EAN",
"Code 128",
"MSI"
};
void main (void)
{
IM_UCHAR input[256];
IM_ORIGIN source;
IM_DECTYPE symbol;
im_clear_screen(); /* Clear the screen */
printf("Demo im_get_label_symbology\n'q' to quit\n");
/* Input loop */
Summary of Contents for Trakker T2090
Page 1: ...TRAKKER T2090Batch Hand HeldComputer P N 067212 003 User s Manual ...
Page 4: ......
Page 14: ......
Page 19: ...Getting Started 1 ...
Page 20: ......
Page 33: ...User Interface 2 ...
Page 34: ......
Page 55: ...Application Development 3 ...
Page 56: ......
Page 61: ...Application Functions 4 ...
Page 62: ......
Page 127: ...Reader Command Reference 5 ...
Page 128: ......
Page 145: ...Configuration Command Reference 6 ...
Page 146: ......
Page 187: ...BIOS Support 7 ...
Page 188: ......
Page 205: ...Hardware Specifications 8 ...
Page 206: ......
Page 212: ......
Page 213: ...Demo Software A ...
Page 214: ......
Page 230: ......
Page 231: ...Microsoft Visual C C Settings B ...
Page 232: ......
Page 237: ...Full ASCII Charts C ...
Page 238: ......