![background image](http://html1.mh-extra.com/html/hand-held-products/5080/5080_user-manual_589690037.webp)
5X80 Series Software Development Kit (SDK) User’s Guide
4 - 1
4
Structures and Mask Definitions
Important: All structures have a dwStructSize member that
MUST BE SET
before calling any of the 5X80 SDK API functions.
This insures that the proper structure has been passed to the function being called.
Most structures have a dwMask member. This specifies which structure members are active (to be read or written). Select
structure items by ORing the individual structure masks for each of the items you wish to be active together.
Symbology Structures and Defines
All symbology structures are 1 of 3 possibilities.
Important: Symbology configuration definitions for each symbology are ORed together in the dwFlags member of the symbology
structure. The applicable flags are dependent on symbology. For example, Aztec Code accepts only
SYMBOLOGY_ENABLE, while Postnet accepts SYMBOLOGY_ENABLE and SYMBOLOGY_CHECK_TRANSMIT.
#define SYMBOLOGY_ENABLE
0x00000001
Enable Symbology bit.
#define SYMBOLOGY_CHECK_ENABLE
0x00000002
Enable usage of check character.
#define SYMBOLOGY_CHECK_TRANSMIT
0x00000004
Send check character.
#define SYMBOLOGY_START_STOP_XMIT
0x00000008
Include the start and stop characters in the
decoded result string.
#define SYMBOLOGY_ENABLE_APPEND_MODE
0x00000010
Code39 append mode.
#define SYMBOLOGY_ENABLE_FULLASCII
0x00000020
Enable Code39 Full ASCII.
#define SYMBOLOGY_NUM_SYS_TRANSMIT
0x00000040
UPC-A/UPC-E Send Num Sys.
#define SYMBOLOGY_2_DIGIT_ADDENDA
0x00000080
Enable 2 digit Addenda (UPC and EAN).
#define SYMBOLOGY_5_DIGIT_ADDENDA
0x00000100
Enable 5 digit Addenda (UPC and EAN).
#define SYMBOLOGY_ADDENDA_REQUIRED
0x00000200
Only allow codes with addenda (UPC and
EAN).
#define SYMBOLOGY_ADDENDA_SEPARATOR
0x00000400
Include Addenda separator space in returned
string.
#define SYMBOLOGY_EXPANDED_UPCE
0x00000800 Extended
UPC-E.
#define SYMBOLOGY_UPCE1_ENABLE
0x00001000
UPC-E1 enable (use
SYMBOLOGY_ENABLE for UPC-E0).
#define SYMBOLOGY_COMPOSITE_UPC
0x00002000
Enable UPC Composite codes.
#define SYMBOLOGY_AZTEC_RUNE
0x00004000
Enable Aztec Code Run.
#define SYMBOLOGY_AUSTRALIAN_BAR_WIDTH
0x00010000
Include Australian postal bar data in string.
#define SYMBOLOGY_AUS_CUST_FIELD_NUM
0x00020000
Customer fields as numeric data using the N
Table.
#define SYMBOLOGY_AUS_CUST_FIELD_AlPHA
0x00040000
Customer fields as alphanumeric data using
the C Table.
Flags for Aztec Mesas are reused, since Aztec Mesas have no addenda, extended UPC-E, or UPC-E1 enable flags.
#define SYMBOLOGY_ENABLE_MESA_IMS
0x00020000
Mesa IMS enable.
#define SYMBOLOGY_ENABLE_MESA_1MS
0x00040000 Mesa
1MS
enable.
#define SYMBOLOGY_ENABLE_MESA_3MS
0x00080000 Mesa
3MS
enable.
#define SYMBOLOGY_ENABLE_MESA_9MS
0x00100000 Mesa
9MS
enable.
#define SYMBOLOGY_ENABLE_MESA_UMS
0x00200000
Mesa UMS enable.
#define SYMBOLOGY_ENABLE_MESA_EMS
0x00400000
Mesa EMS enable.
#define SYMBOLOGY_ENABLE_MESA_MASK
0x007E0000
Enable all Mesa.
There is only one symbology ID for RSE, RSL, and RSS, so 3 flags are used for enable.
#define SYMBOLOGY_RSE_ENABLE
0x00800000
Enable RSE Symbology bit.
#define SYMBOLOGY_RSL_ENABLE
0x01000000
Enable RSL Symbology bit.
#define SYMBOLOGY_RSS_ENABLE
0x02000000
Enable RSS Symbology bit.
#define SYMBOLOGY_RSX_ENABLE_MASK
0x03800000
RSS enable all.
Telepen and PosiCode
#define SYMBOLOGY_TELEPEN_OLD_STYLE
0x04000000
Telepen Old Style mode.
#define SYMBOLOGY_POSICODE_LIMITED_1
0x08000000
PosiCode Limited of 1
Содержание 5080
Страница 1: ...Software Development Kit SDK for 5080 5180 and 5380 Decoded Miniature Image Scan Engines User s Guide ...
Страница 6: ...iv 5X80 Series Software Development Kit SDK User s Guide ...
Страница 14: ...1 8 5X80 Series Software Development Kit SDK User s Guide ...
Страница 50: ...4 14 5X80 Series Software Development Kit SDK User s Guide ...
Страница 60: ...6 8 5X80 Series Software Development Kit SDK User s Guide ...
Страница 62: ...7 2 5X80 Series Software Development Kit SDK User s Guide ...
Страница 63: ......
Страница 64: ... Hand Held Products Inc 700 Visions Drive P O Box 208 Skaneateles Falls NY 13153 0208 5X10 80SDK UG Rev C 9 07 ...