Label Template Article Help
中文 Batch Barcode Generator
Index Menu

How to Add FNC Function Codes to a Barcode

Route: Batch Barcode Generator - [ How to Add FNC Function Codes to a Barcode ]

Steps to Add FNC Function Codes

Step 1: Enable the FNC Function Code Feature
  • If using the [Label Generator]: Click the barcode component on the canvas, then check the option [Enable FNC Function Codes] in the settings panel.
  • If using the [Batch Barcode Generator]: Go to the [Barcode] On the right side of the page, click to expand [More Settings], then check the option [Enable FNC Function Codes].
  • If using the [Barcode Generator]: Go to the [Basic Settings] page of the barcode, click to expand [More Settings], then check the option [Enable FNC Function Codes].
Step 2: Insert Placeholders into the Barcode Text

For barcodes using the CODE128 type, the four standard function codes defined in current specifications are fnc1, fnc2, fnc3, and fnc4. Their corresponding placeholders are {FNC1}, {FNC2}, {FNC3}, and {FNC4}. Insert these placeholders into the barcode text, and DoingLabel Barcode will automatically convert them to the corresponding function codes.


Example

Suppose you are using the Code128 type, and the barcode text is "0123456789". You want to add the fnc1 function code after "01".

  1. First, check [Enable FNC Function Codes].
  2. Insert the placeholder {FNC1} after "01" in the barcode text. The complete barcode text will be "01{FNC1}23456789".

DoingLabel Barcode will then automatically add the fnc1 function code at the corresponding position.

The barcode editing tool shown in the image above is from the Barcode Generator. It requires no installation and can be used online with a single click.

Additional Notes

  1. Applicable types: Function codes are only valid for the CODE128, GS-128, and EAN128 types (across character sets A, B, and C).
  2. Placeholder Case Insensitivity: The placeholders {FNC1}, {FNC2}, {FNC3}, and {FNC4} are case-insensitive (e.g., {fnc1} works the same as {FNC1}).
  3. Character Set Selection for CODE128/GS1-128/EAN128:

    The CODE128 encodings corresponding to the fnc2, fnc3, and fnc4 function codes vary across character sets A, B, and C.

    • If you select CODE128 (Auto), GS1-128, or EAN128 (Auto), the system will automatically select a character set. However, incorrect selection may lead to function code errors or invalidation.
    • Therefore, if you can confirm the specific character set (A/B/C) for CODE128, GS1-128, or EAN128, it is recommended to select the type with the explicitly specified character set.
  4. Caution for Advanced Features: FNC function codes are advanced features. If you are unsure about their usage, avoid enabling the FNC function code feature.

Learn More:


  • Kindly refrain from reposting this article unless you have obtained permission.
  • This is a translated article. Should you find any translation mistakes or content errors, please refer to the Original Article (Chinese), which takes precedence.
  • Due to ongoing version iterations, the feature details and interface screenshots included in this article may not be updated in a timely manner, leading to potential discrepancies between the article content and the actual product. For the most accurate information, please refer to the features of the latest version.
If you encounter issues and need help, or have suggestions, please send feedback to DoingLabel.