Control Code Replacement Examples

Configuration

 

Example

Example

 

Translation

Control

Translated data

data

configuration

 

Character

 

 

 

 

 

 

 

 

 

 

Ignore(drop)

The control character is discarded

ESCape

‘Ignore (drop)’

0x1B in the bar code is

 

from the bar code data, prefix and

 

 

discarded.

 

suffix

 

 

 

 

 

 

 

 

Printable text

Text is substituted for Control Char-

Start of TeXt

‘STX’

0x02 in a bar code is con-

 

acter.

 

 

verted to the text ‘STX’.

 

 

 

 

 

Hat-encoded text

The hat-encoded text is translated

Carriage Re-

‘^M’

Value 0x0d in a bar code

 

to the equivalent hex value.

turn

 

is converted to the value

 

 

 

 

0x0d.

 

 

 

 

 

Escaped hat-en-

The hat-encoding to pass thru to

Horizontal Tab

‘\^I’

Value 0x09 in a bar code

coded text

the application.

 

 

is converted to the text

 

 

 

 

‘^I’.

 

 

 

 

 

Hex-encoded

The hex-encoded text is translated

Carriage Re-

‘0x0A’

Value 0x0D in a bar code

text

to the equivalent hex value.

turn

 

is converted to a value

 

 

 

 

0x0A.

 

 

 

 

 

Escaped hex-en-

The hex-encoding to pass thru to

Vertical Tab

‘\0x0A’ or ‘0\x0A’

Value 0x0C is a bar code

coded text

the application.

 

 

is converted to text ‘0x0A’

 

 

 

 

 

Bar Code Processing Examples

The following table shows examples of stripping and prefix/suffix configurations. The examples assume that the scanner is configured to transmit an AIM identifier.

 

Symbology

 

 

 

 

 

 

 

 

 

 

All

EAN-128 (]C1)

EAN-13 (]E0)

Intrlv 2 of 5 (]IO)

Code93

 

 

 

 

 

 

Enable

Enabled

Enabled

Enabled

Enabled

Disabled

 

 

 

 

 

 

Min length

1

4

1

1

 

 

 

 

 

 

 

Max length

all

all

all

10

 

 

 

 

 

 

 

Strip Code ID

Enabled

Enabled

Disabled

Enabled

 

 

 

 

 

 

 

Strip Leading

3

0

3

3

 

 

 

 

 

 

 

Strip Bar Code Data

 

‘*123’

‘1*’

‘456’

 

 

 

 

 

 

 

Strip Trailing

0

0

3

3

 

 

 

 

 

 

 

Prefix

‘aaa’

‘bbb’

‘ccc’

‘ddd’

 

 

 

 

 

 

 

Suffix

‘www’

‘xxx’

‘yyy’

‘zzz’

 

 

 

 

 

 

 

Provided that the wedge is configured with the above table, following are examples of scanned bar code data and results of these manipulations.

Bar Code Symbology

Raw Scanner Data

Resulting Data

 

 

 

EAN-128

]C11234567890123

bbb1234567890xxx

 

 

 

EAN-128

]C111234567890123

bbb11234567890xxx

 

 

 

EAN-128

]C1123

< rejected > (too short)

 

 

 

EAN-13

]E01234567890987

ccc]E04567890yyy

 

 

 

EAN-13

]E01231234567890987

ccc]E0234567890yyy

 

 

 

8 - 33