Intermec 700 Series 700 User Manual page 168

Monochrome mobile computer
Hide thumbs Also See for 700 Series 700:
Table of Contents

Advertisement

Chapter
6
Scanner Support
152
Grid Filter Example 1
This accepts a serial number in which the encoded number is a six-charac-
ter string beginning with M followed by six numeric characters.
S Filter
M[0-9]{6}
S Effect
When a bar code, such as M270494, is scanned, all data is passed.
Grid Filter Example 2
This formats a scanned Social Security number and forms it into an XML
element tagged "SSN".
S Filter
([0-9]{3})([0-9]{2})([0-9]{4})= > <SSN > \1-\2-\3</SSN >
S Effect
A bar code, such as 123456789, is passed and reformatted to
<SSN > 123-45-6789</SSN >
Grid Filter Example 3
This deletes the first three and last five characters of a 21-character Code
128 label and deletes the first two characters of a 10-character Interleaved
2 of 5 label.
S Filter
<]C > ...(.{13}).....= > \1; <]I > ..(........)= > \1
S Effect
If Code 128, AAA1234567890123BBBBB becomes 1234567890123
If Interleaved 2 of 5, AA12345678 becomes 12345678
Grid Filter Example 4
This inverts data such that the first alphabetic string (like a first name) and
second alphabetic string (like a last name) are reversed and separated by a
comma and a space.
S Filter
([[:alpha:]])+ ([[:alpha:]])+= > \2, \1
S Effect
When a bar code with the data "Dexter Gordon" is scanned, the data is
modified to read "Gordon, Dexter".
700 Series Monochrome Mobile Computer User's Manual

Advertisement

Table of Contents
loading

Table of Contents