This is a string
value that represents the data being encoded.
- The height of the barcode. Default =6. The approximate height is
determined with the following formula:
Height in Inches = (Font Size) * (BarHeight) * 0.012
Height in CM = (Font Size) * (BarHeight) * 0.03
Determines the width
of the wide bars, which is a multiple of the
X dimension. Valid values are 2 and 3.
The default is 2.
whether a check digit should be automatically calculated and included
for the DataToEncode. Valid values are 0 (false) and 1 (true). Default
If ApplyTilde is set
to 1 (true), the tilde will be processed and allow the following options:
- ASCII characters: The format ~ddd may be used to specify
the ASCII code of the character to be encoded.
- For example, if entering
the following text in the Data field: 66~02977
it will actually encode 66GS77
where GS is a delimiter ASCII
- Other commonly used ASCII codes are ~009 for a tab
and ~013 which is a return function. To encode other functions,
please refer to IDAutomation's
GS1-128 (UCC/EAN-128) AIs:
To encode alpha-numeric UCC/EAN128, the character must be set
to "AUTO" for automatic. Then, ASCII 202 or character Ê is entered
as the FNC1 before each AI and the required start C is included
- For example, the GS1 number of (8100)712345(21)12WH5678
should be entered as: ~2028100712345~2022112WH5678.
- In most cases, the AI's will be properly represented in the human
readable text. If the parenthesis is not around the correct number
for the AI, enter the following extended ASCII character as the
FNC1 for the correct number of digits in the AI:
ASCII 212 = 2 digits
ASCII 213 = 3 digits
ASCII 214 = 4 digits
ASCII 215 = 5 digits
ASCII 216 = 6 digits
ASCII 217 = 7 digits
For example, to encode (1277)56, enter
For more information, please refer to the
UCC/EAN 128 section of IDAutomation's Code 128 FAQ
- Create a Mod 10 Check digit: To create a Mod 10 check
digit for xx number of characters, add the following to the DataToEncode:
~mnn (where nn is a 2 digit number representing the number
of characters preceding the tilde in which to base the Mod 10 calculation).
- The additional MOD 10 check digit is commonly used in GS1 (UCC/EAN)
barcode types. For example, setting the DataToEncode property to
~2024021234567890123456~m16 will cause
a mod 10 check digit to be created based on all 16 characters before
the tilde. The human readable text and scanned data will display
as (402)12345678901234560. The final 0 is the mod 10 check digit
and replaces ~m16.
- FNC2: When necessary, the FNC2 character may be inserted
into the DataToEncode string by using ASCII 197. For example;
Scanner can be programmed to hold the barcode starting with
the FNC2 in memory and only transmit it to the computer after scanning
a barcode containing the FNC1.