VpeMaxiCode

<< Click to Display Table of Contents >>

Navigation:  Barcode Functions (2D) >

VpeMaxiCode

Previous pageReturn to chapter overviewNext page

[Professional Edition and above only]

Inserts a MaxiCode barcode into the VPE document.

This version accepts mode 2 and 3 messages beginning with “[)>RS01GS“, which conform to particular open system standards (for details refer to AIM specification). It selects the appropriate mode based on the ZIP code included in lpszText.

void VpeMaxiCode(

VpeHandle hDoc,

VpeCoord x,

VpeCoord y,

VpeCoord x2,

VpeCoord y2,

LPCTSTR lpszText

)

VpeHandle hDoc

Document Handle

VpeCoord x, y, x2, y2

coordinates

LPCTSTR lpszText

the text of the barcode

Example:

// Sample Message (in C++ syntax):

char *szUPS =        "[)>" "\x1e" "01" "\x1d" "9641460"

 "\x1d" "276" "\x1d" "068" "\x1d" "1Z51146547"

 "\x1d" "UPSN" "\x1d" "32630V" "\x1d" "327" "\x1d"

 "\x1d" "1/1" "\x1d" "2" "\x1d" "N" "\x1d"

 "\x1d" "NEUSS" "\x1d" "\x1e" "\x04"

 "!!!!!!!!!!!!!!!!!!!!!!!!!!"

VpeMaxiCode(hDoc, 1, 6, -3, -3, szUPS)

Remarks:

sets LastError

 

See also:

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