EasyManua.ls Logo

Symbol DS7708 - Scroll Until Match (S); Multiple Templates; Template Examples

Symbol DS7708
666 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
OCR PROGRAMMING 13 - 37
OCR Template (continued)
This operator allows a template character to repeat one or more times, allowing the capture of variable-length
scanned data. The following examples capture two required alpha characters followed by one or more required
digits:
Template Incoming data Output
AA9R AB34 AB34
PN12345 PN12345
32RM52700 No output
Scroll Until Match (S)
S
This operator steps through scanned data one character at a time until the
data matches the template.
Template Incoming data Output
S99999 AB3 No Output
PN12345 12345
32RM52700 52700
Multiple Templates
This feature sets up multiple templates for OCR decoding. To do this, follow the procedure described in OCR
Template on page 13-25 (scan the OCR Template bar code, then bar codes corresponding to numbers and
letters to form the template expression, then
End of Message) for each template in the multiple template string,
using a capital letter X as a separator between the templates.
For example, set the OCR Template as 99999XAAAAA to
decode OCR strings of either 12345 or ABCDE.
Up to 99 templates are permitted.
Template Examples
Following are sample templates with descriptions of valid data for each definition.
Field Definition Description
"M"99977 M followed by three digits and two optional digits.
"X"997777"X"
X followed by two digits, four optional digits, and an X.
9959775599 Two digits followed by any character, a digit, two optional digits, any two
characters, and two digits.
A55"-"999"-"99 A letter followed by two characters, a dash, three digits, a dash, and two digits.
33A"."99 Two alphanumeric characters followed by a letter, a period, and two digits.
999992991 Five digits followed by an optional alpha, two digits, and an optional alphanumeric.
"PN98" Literal field -
PN98

Table of Contents

Related product manuals