Catching the <GS> character in ET1 DataWedge

Hi team...

 

I'm trying to capture the <GS> character from a code128 and send it through as a printable delimiter for an application (such as a ! character).

 

In DataWedge for WinMo, we have the ability to set this via KeyMap... but it appears we don't have equivalent functionality in Android? Or we've buried that capability somewhere in the UI.

 

Can anyone point me in the right direction?

 

Many thanks!

-JP

Pavel Machala
Hi Jon,ADF rules are only

Hi Jon,

ADF rules are only possible solution on Android, however it is little bit tricky on 2.3.4 version.

You have to use "Send Up To" or "Replace String". Unfortunately both actions expect to put string which corresponds with that particular control character (GS,RS,....). On WM we were using \x1D or \u... strings for such characters but these are not supported in GingerBeard. It will be supported in JB.

However there is the following workaround

Example how to remap GS character:

Scan barcode with default datawedge settings in DWdemo or browser or somewhere else. Now you should be able to see unknown symbols similar to square. So delete everything besides that particular square which belongs to GS character.

Then select that “square” and copy it.

Go to Datawedge ADF rule settings in "Replace String" action you have to paste the character in the first string and in second string you can put whatever string you want to see instead of that square e.g. “%”

When you want to replace all GS characters use following actions

Replace String

Send Remaining

If you want to send data till GS character, use   Send up to.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Francisco Fernandes
Hi there.I'm using  datawedge

Hi there.

I'm using  datawedge on TC55 and I have the same problema with the <GS>.


When I scan with DWDemo ,  the <GS> doesn't show a square but a space. and I can't copy/paste it because t doesn't allow me to copy from there,


So is there some other way to indicate the ASCII29 on the string to replace ?


Thank you in advance


Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Pavel Machala
Hi Francisco,Since JB TC55

Hi Francisco,

Since JB TC55 and other MSI JB devices support \x1D or \u000D strings in datawedge. Therefore you can use ADF rule.... and use syntax as per above.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Francisco Fernandes
Thanks it worked

Thanks it worked

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Ritesh Gupta
Hey Jon,Try using the

Hey Jon,

Try using the “Advanced Data Formatting” feature exposed by DataWedge.  All the required details are in the ET1 Integrators’ Guide : http://supportcentral.motorolasolutions.com/support/search.do?cmd=displayKC&docType=kc&externalId=14851103apdf&sliceId=&dialogID=523604118&stateId=1 0 523600148

Look within section : “Generating Advanced Data Formatting Rules” in page 4-21.  I believe the “Replace String” action could solve the problem.

Regards,

Ritesh

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments