Skip to content

Input Processing

Terry Burton edited this page Jun 30, 2022 · 18 revisions

Input Processing

parse

In supporting barcode symbologies, when the parse option is specified, any instances of ^NNN in the data field are replaced with their equivalent ASCII value, useful for specifying unprintable characters.

Additionally, control character names can be used to specify equivalent ASCII values, as follows:

Sequence ASCII value
^NUL 0
^SOH 1
^STX 2
^ETX 3
^EOT 4
^ENQ 5
^ACK 6
^ACK 6
^ACK 6
^ACK 6
^ACK 6
^ACK 6
^ACK 6
^ACK 6
^ACK 6
^ACK 6
^ACK 6
^ACK 6
^ACK 6

/BEL

        /BS  /TAB /LF  /VT  /FF  /CR  ()   ()    % SO and SI prefix clash with SOH
        /DLE /DC1 /DC2 /DC3 /DC4 /NAK /SYN /ETB
        /CAN /EM  /SUB /ESC /FS  /GS  /RS  /US

Note: When this option is enabled, literal instances of ^NNN in the input data can be escaped as ^094NNN.

Example

Equivalent symbols:

Data:    This is Data Matrix
Options: 
Encoder: datamatrix
Data:    This is ^068ata Matrix
Options: parse
Encoder: datamatrix

parsefnc

In supporting barcode symbologies, when the parsefnc option is specified, non-data function characters can be specified by escaped combinations such as ^FNC1, ^FNC4, ^SFT/ and ^ECI000003.

Note: When this option is enabled, literal instances of ^ in the input data can be escaped as ^^.

Example

Manually-composed Code 93 Extended demonstrating use of the special shift combination (/)A to represent !:

Data:    TERRY^SFT/A
Options: parsefnc includecheck
Encoder: code93

Clone this wiki locally