BCSetMessage Function

Navigation:  Reference Guide >

BCSetMessage Function

Previous pageReturn to chapter overviewNext page

Specifies the message to encode using selected barcode format and appropriate parameters.

void BCSetMessage(LPCTSTR Message);

Parameters

Message

A string that contains the message to encode using selected barcode format and appropriate parameters.

 

Remarks

If the SymbologyType is set to UCC/EAN128 (GS1-128), you could use a "FNC1" string to indicate the end of a varied-length data field. For example, pass "(01)12345678901234(10)12345FNC1(11)080101" to the "Message" parameter, "FNC1" is used to indicate the end of the data field after the Application Identifier (AI) #10, since AI #10 allows the corresponding data field to have 1-20 alphanumeric characters.

GS1_128

 

See Also

BCBasicInfo() Function