ApplyTilde Option

The ApplyTilde option is used in IDAutomation Barcode Fonts, Components and Applications to enable various features by use of the tilde character.

When ApplyTilde is enabled in Code 128 Auto, the product will automatically switch character sets as necessary to compact numbers in character set C and encode functions in character set A. The IDAutomation implementation of Code 128 auto offers many options when ApplyTilde is enabled:

  • ASCII Characters may be encoded by using the format ~???. For example, the text of BAR~009CODE~013 will encode BAR <tab> CODE <return>.
  • GS1-128 and FNC1 Functions (aka: UCC/EAN-128) may be easily encoded with ASCII 202 (character Ê,) or ~202 as the FNC1 before each application identifier (AI). For example, the GS1 data of (8100)712345(21)12ECC200 should be entered as: ~2028100712345~2022112ECC200. In most cases, the AIs will be properly represented in the human readable text. If the parentheses are not around the correct number for the AI, enter the following as the FNC1 for the correct number of digits in the AI:
    ASCII 212 or ~212 = 2 digits        ASCII 213 or ~213  = 3 digits
    ASCII 214 or ~214 = 4 digits        ASCII 215 or ~215  = 5 digits
    ASCII 216 or ~216 = 6 digits        ASCII 217 or ~217  = 7 digits

    For example, to encode (1277)128200, enter ~2141277128200.
  • Mod 10 Check-digits may be generated by using the format ~m?? where ?? is the number of characters preceding the tilde required to calculate the Mod 10 check digit. The additional MOD 10 check digit is commonly used in GS1, UCC and EAN barcode types.
  • FNC2 Functions may be inserted into the DataToEncode string by using ASCII 197 or ~197. For example, Å8012349091. The IDAutomation SC5-USB Barcode Scanner may 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.
 

© Copyright 2008 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

Over 70% of Fortune 100 companies use IDAutomation products to automate their businesses.