User's Manual
Table Of Contents
- C-Series User Guide
- Safety information
- Regulatory compliance
- Overview
- Software installation
- Typical workflows
- Startup and shutdown
- Installing system security updates
- Managing the 3M™ SelfCheck™ System
- Home page
- Basic administration
- Advanced administration
- General maintenance
- Solving problems
- Obtaining service and supplies
- Appendix A: Email notification messages
⎟ 47
ID filter command descriptions
CONTAINS command
Syntax: CONTAINS <string> [AT <number>]
The CONTAINS constraint searches the ID code for the specified string.
If the string is not found, then the ID filter does not alter the ID code.
If a string is specified without a number, then the string can appear
anywhere in the ID code.
If both a string and a number are specified, then the string must appear
at the <number> character in the ID code. The first character in the ID
code is number 1.
LENGTH command
Syntax: LENGTH <number>
The LENGTH constraint checks the length of the ID code.
If it does not match the number specified, this line of the ID filter is not
used. The SelfCheck system tries the next filter in the list.
Note that because the LENGTH restriction may be anywhere in the
script, the ID code may be partly processed before the length is checked.
ADD command
Syntax: ADD <string> [AT <number>] or
ADD CHECKDIGIT [AT <number>]
The ADD action adds a string to the ID code.
If a number is not specified, the string or check digit is added to the end
of the ID code.
If a number is specified, the string or check digit is inserted at the
<number> character in the ID code. The first character in the ID code is
always number 1.
CHECKDIGIT parameter
If the CHECKDIGIT keyword is specified instead of a string, the SelfCheck
system sums the digits in the ID code and adds a check digit.
PAD command
Syntax: PAD <direction> WITH <string> TO <number>
The PAD action adds a string to the beginning or end of the ID code.
Use LEFT to add the text before the ID code, or RIGHT to add it after the
ID code.
Use TO <number> to specify the total number of characters in the string
after padding.
Example: To convert 1234567 to 000001234567, use
pad left with "0" to 12










