ApplyTilde Barcode Option Specifications

Barcode Information | Tutorials | FAQs at BarcodeFAQ.com

The ApplyTilde (a.k.a. ProcessTilde) option is used in IDAutomation Font Encoders, Components and Applications to enable various features which utilize the tilde character.

When using ApplyTilde to encode the GS1 FNC1 or ASCII characters, IDAutomation suggests testing the result with the Data Decoder App, which is able to reveal the encoded data.

 OptionStateDescription
0FalseFormats the data as-is.
1TrueEnables processing of tilde and parentheses characters for purposes defined below, such as encoding ASCII functions and AIs.

ApplyTilde is Utilized in the Following Barcode Types

Code 128 Barcodes
  • The IDAutomation implementation of Code 128 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 may be encoded with ASCII 202 (character Ê ) or ~202 as the FNC1 before each application identifier (AI). Multiple AIs may be encoded in a single symbol without additional FNC1 characters, if variable length element strings (such as those with AIs 10, 17, 21 or 92) are included last. For example, the GS1 data of (01)34567890123457(17)991231 should be encoded as: ~202013456789012345717991231.
    • 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 barcode types.
    • FNC2 Functions may be inserted into the DataToEncode string by using ASCII 197 or ~197.
PDF417 and Micro-PDF417 Barcodes
  • When ApplyTilde is enabled in PDF417 and Micro-PDF417, the format ~??? may be used to specify the ASCII code of the character to be encoded.
Matrix Barcodes such as Aztec, DataMatrix, and QR Code
  • ~1 may be used to encode GS1 Application Identifiers with the ASCII encoding mode in Data Matrix or byte encoding in QR-Code. Additional parentheses functionality has been included in all Data Matrix products to comply with the GS1 Data Matrix specification.
  • ASCII Characters may be encoded by using the format ~d???. For example, the text of BAR~d009CODE~d013 will encode BAR <tab> CODE <return>.
  • 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.
  • MOD 43 (commonly used for HIBC) is supported in all Data Matrix and QR Code products 2019 or greater with the format ~f?? where ?? is the number of characters preceding the tilde required to calculate the Mod 43 check digit.
2020 Update for QR Code:
  • Image Overlay as Center Override with ~CO is used to modify the matrix at the center of the symbol. This is commonly used for the Swiss QR Bill.
2022 Update for QR Code:
  • TLV (Tag-Length-Value) – When the first two characters are ^| then automatically encode TLV values separated by | for example:
    “^|SellerName|VNumber|DateTime|Total|VTotal”
  • TLV in Base64 – When the first character is | then automatically encode TLV values separated by | and encode in Base64, for example:
    “|SellerName|VatNumber|DateTime|Total|VatTotal”
  • Base64 – When the first character is = everything after the first = is encoded in Base64:
    “=This text is encoded in Base64”