How can I remove ASCII-control signs from Code128/GS1-128 code?

// Expert user has replied.
S Stefan Kaifer 2 months 1 week ago
56 3 0

Hi 

I'm using Datawedge for my Webapp. I'm scanning mostly Code128 or GS1-128 codes in a textfield. My problem is, if this codes have some control signs, like ASCII 29 in it, I'll get these unreadable characters from the scanner (TC27) in my textfield, too.

Where in DataWedge can I set, that all "unreadable" signs should be removed from code?

Example:

I'm scanning this code:   012896400278756617270801

The sign  is ASCII 29. How can I remove automatically such characters from the code? I need only this: 012896400278756617270801.

Best regards

Stefan

Please Register or Login to post a reply

3 Replies

I Ian Hatton

In Datawedge you can either setup an ADF rule to remove the separator characters or an easier+quicker method is to :

a) enable GS1 Barcode Parsing in Scanner config

b) In the keystroke output plugin, select 'Data formatting and ordering' and 'UDI specific' and then enable 'Include parenthesis around AI field'

  This will output only ASCII characters with the AI fields in brackets e.g.

(01)08456789014530(15)081213

 

 

N Nicola De Zolt
S Stefan Kaifer

Many thanks for the solutions! Very nice!

CONTACT
Can’t find what you’re looking for?