C128 ReturnType Specifications

Barcode Information Tutorials & FAQs at BarcodeFAQ.com

The C128 ReturnType is an optional property used in IDAutomation’s barcode font encoders to add additional functionality to the information returned from a function.

 ReturnType Specification Description Example
0 Returns a character string formatted to the associated barcode font. When this text is used with the appropriate font, a proper barcode will be created. Code 128 Barcode Symbol Created From a Font
1 Returns a text string for a standard font such as Arial. Usually used to display the human-readable text for GS1-128 with the C128() function. (17) 231231
2 Returns the check-digit only, if applicable. 3
Types 3 to 5 return a human-readable text interpretation in the same manner as the SpliceText function with Font Encoders that are Feature Level 10 or greater using the Code128() function.
 ReturnType Specification Description Example
3 Returns human-readable text spliced every 3 digits, if applicable. 172 312 310
4 Returns human-readable text spliced every 4 digits, if applicable. 1723 1231 0
5 Returns human-readable text spliced every 5 digits, if applicable. 17231 2310
6-9 Return Types 6 through 9 have been discontinued.

Options for HIBC:

 ReturnType Specification Description Example
10 Encodes data for HIBC Primary barcode, which includes the HIBC identifier using the “+” symbol. Return Type 10
=Code128(“B123120001”,10,False)
Returned Data: +B123120001J
11 Returns the check character for the Primary barcode for a standard font such as Arial. The check character is used as part of the Secondary barcode DataToEncode. =Code128(“B123120001”,11,False)
Check Character for Primary Barcode: J
12 Encodes data for HIBC Secondary barcode, which includes the HIBC identifier using the “+$$+” prefix. The Primary barcode check character can be appended using ReturnType 11. Return Type 12
=Code128(“01181234555J”,12,False)
Returned Data: +$$+01181234555J%