Insert any hex character in a 2D barcode
In certain 2D barcodes, it is necessary to insert special characters that are not available on a standard keyboard. These characters are typically represented by their ASCII hex values and are commonly used as delimiters to separate fields in the barcode.
Some examples of such special hex values include:
- Hex 05
- Hex 0A (also known as LF or Line Feed)
- Hex 0D (also known as CR or Carriage Return)
- Hex 1D
To insert these characters, you can use the built-in function ng:hexToUtf8(). This function accepts a string as input. For instance, if you need to define a string that includes a character with the hex value 05, you can use the following syntax:
Which can be inserted in e.g. concat functions or you can use this in definition of a variable as shown here.
In the result view, these hex characters will be displayed, but in the final merged output and preview, they will be correctly substituted with their respective characters.
Related Articles
Insert line breaks in a 2D barcode
You have two options, if you want to insert a line break in a 2D barcode (like PDF417, Datamatrix and QR barcodes): 1.If you want to insert a simple line break with the full Carriage Return (CR) and Line Feed (LF), then you can insert a line break by ...
Barcode element
To insert a barcode in InterFormNG2 you need to click this icon: You can find it via the '+' here: You can edit an existing barcode element by double clicking the barcode element in either the element tree on the left or in the result view of the ...
d.velop support
One of the modules in InterFormNG2 is support for output into the d.velop archiving system. The support for d.velop includes the configuration, which is covered in the section, d.velep configuration. Here you setup the connection to your d.velop ...
To d.velop Documents
The advanced output workflow component, To d.velop Documents can be used in order to output documents from InterFormNG2 into your d.velop application. This component can create a new item in a d.velop documents archive with the current workflow ...
d.velop configuration
If you have purchased the d.velop module for InterFormNG2, then you can output documents from InterFormNG2 into the d.velop application. A prerequisite for that is, that you have configured a connection to your d.velop application like below: In ...