VpeMaxiCodeEx

<< Click to Display Table of Contents >>

Navigation:  Barcode Functions (2D) >

VpeMaxiCodeEx

Previous pageReturn to chapter overviewNext page

[Professional Edition and above only]

Inserts a MaxiCode barcode into the VPE document. It is recommended to use VpeMaxiCode() instead. This function has been implemented for completeness.

void VpeMaxiCodeEx(

VpeHandle hDoc,

VpeCoord x,

VpeCoord y,

VpeCoord x2,

VpeCoord y2,

int nMode,

LPCTSTR lpszZip,

int nCountryCode,

int nServiceClass,

LPCTSTR lpszMessage,

int nSymbolNumber,

int nSymbolCount

)

VpeHandle hDoc

Document Handle

VpeCoord x, y, x2, y2

coordinates

int nMode

Modes define the structuring of data and error correction within a symbol.

Value

Description

0

Obsolete

1

Obsolete

2

Structured Carrier Message. Encode the destination address and class of service in the transport industry. Mode 2 supports up to nine numeric digits for the ZIP code.

3

Similar to mode 2. Supports up to six alphanumeric characters for ZIP code.

4

Standard Symbol (for details refer to AIM specification)

5

EEC (for details refer to AIM specification)

6

Reader Programming (for details refer to AIM specification)

LPCTSTR lpszZip

Postal code, for example D40211 or 42119

int nCountryCode

ISO 3166 country code (for example 276 for Germany)

int nServiceClass

Carrier-dependent service class

LPCTSTR lpszMessage

Secondary message

int nSymbolNumber

Total number of symbols (structured append)

int nSymbolCount

Current number of symbol (structured append)

Example:

VpeMaxiCodeEx(hDoc, 1, 11, -5, -5, 2, "068107317", 840, 001, "AOE This is MaxiCode AOE", 1, 1)

Remarks:

sets LastError

 

See also:

"Barcodes (2D)" in the Programmer's Manual