FAQ Barcode Creation
How to Encode FNC1 in a GS1 Barcode?
How to Encode FNC1 in a GS1 Barcode?
To add the functional character FNC1 to your barcode data follow these steps:
- Enter the sequence \F to your bar code data where you need the FNC1.
- Make sure Escape Sequences are enabled in the barcode settings.
- FNC1 will be insert and the Application Identifier is recognized automatically in the HRT.
What's FNC1?
FNC1 is used as separator character for variable length data fields in the GS1 Application Identifier standard. It can be encoded with \F. Sample: The data field for the batch / lot number varies in length (up to 20 characters) and needs a termination (FNC1).
Please consider:
- To encode FNC1 Escape-Sequences must be enabled.
- Don't insert FNC1 after the last data field.
- Insert FNC1 even if the maximum field length is used.
Example 1: FNC1 in TBarCode
In this example we generate a GS1-128 barcode with 2 Application Identifier. The batch or lot number (AI =10, variable length so it needs FNC1) and the best before date (AI=15).
' set the barcode type = GS1-128 (EAN/UCC 128) TBarCode11.BarCode = eBC_GS1_128 ' enable Translate Escape Sequences TBarCode11.EscapeSequences = True ' set the data to be encoded TBarCode11.Text = "10222333\F15100701"
Example 2: FNC1 in Barcode Studio
To add the functional character FNC1 to your barcode data follow these steps:
- Enter the barcode data „10222333\F15100701“ .
- Beside the barcode data check Escape Sequences (V17+).
- FNC1 will be insert and the Application Identifier (AI=15) is recognized automatically in the HRT.
- In Barcode Studio 11.5+ you can use the new Assistant for GS1 Application Identifiers.