![I.R.I.S. IRISPowerscan 9.5 User Manual Download Page 80](http://html.mh-extra.com/html/i-r-i-s/irispowerscan-9-5/irispowerscan-9-5_user-manual_603273080.webp)
Chapter 5 – Project Setup
72
Setting a mask syntax
The barcode masks are defined according to a mask syntax. They
are used to validate the values detected on the documents, such as,
for example, the index field values.
A mask is made of characters that correspond to different values:
A = alphabetic character (from A to Z and a to z)
X = alphanumeric character
9 = a digit (from 0 to 9)
? = any character
E.g.: if the value mask is
AA99
: the value is valid if it starts with
two alphabetic characters followed by two digits.
Some portion of the mask may have to match a literal expression.
This expression must then be written between quotes.
E.g.: if the value mask is
AA"CONTRACT"99
, the value is valid
if it starts with two alphabetic characters followed by the literal
expression "CONTRACT", followed by two digits.
For each character, you can also specify a counter, i.e. the number
of characters that must be present in the value.
E.g.: ?(3) means up to 3 characters.
E.g.: A(3) means up to 3 alphanumeric characters.
E.g.: A(3)"CONTRACT"99 the value is valid if it starts with up to
three alphabetic characters followed by the literal expression
"CONTRACT", followed by two digits.
Number type mask characters
9 = numeric
E.g.: 9(3) or 999 => 453 or 123 or 657, etc.
Date type mask characters
D = numeric
Summary of Contents for IRISPowerscan 9.5
Page 1: ...Version 9 5 User Guide ...
Page 2: ......
Page 10: ......
Page 12: ......
Page 20: ......
Page 28: ...Chapter 2 Installation 20 ...
Page 50: ......
Page 134: ......
Page 154: ...Chapter 6 Scanning 146 ...
Page 162: ...Chapter 8 Post scanning operations 154 Image editing Image re organization ...
Page 182: ...IRISPowerscanTM User Guide 174 ...