Oemgetsetuppdf417, Oemgetsetuppdf417 -33 – Hand Held Products 4X00 User Manual

Page 47

Advertising
background image

IMAGETEAM™ 4X00 Series Software Development Kit (SDK) User’s Guide

2 - 33

Parameters

SetupType

SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.

nFont

This determines which OCR fonts (if any) are selected for decoding. The following values are used:

OCR_DISABLED
OCR_A
OCR_B
OCR_MONEY
OCR_MICR (currently unsupported)

pszTemplate

A null-terminated string that indicates one or more template patterns for the OCR decode. The following characters are
allowed:

A-Z capital letters are matched as is
d - a digit from 0 - 9
a - alphanumeric character
l - alphabetic letter
g - any character specified in group G
h - any character specified in group H

pszGroupG

A null-terminated string that represents a list of characters that can be substituted for the lower-case 'g' in the template
strings.

pszGroupH

A null-terminated string that represents a list of characters that can be substituted for the lower-case 'h' in the template
strings.

pszCheckChar

A null-terminated string that represents a check character position in the template strings.

nDirection

Tells the OCR decoder which way the characters are usually oriented with respect to the image. The decoder still
decodes any orientation, but use of this parameter can increase decoding speed.

oemGetSetupPDF417

This function is used to get the PDF417 symbology-specific options.

Result_t

oemGetSetupPDF417(
SetupType_t SetupType,
BOOL *pEnabled,
WORD *pMinLength,
WORD *pMaxLength
)

Return Values

RESULT_SUCCESS
RESULT_ERR_PARAMETER

Advertising