Using The Criteria Command - Xerox 6100BD - Phaser Color Laser Printer Software Manual

Using lcds print description language
Hide thumbs Also See for 6100BD - Phaser Color Laser Printer:
Table of Contents

Advertisement

Using logical processing
Constant mode
Change mode
Value mode
Specifying one
CRITERIA
command
Specifying two
CRITERIA
commands
3-10
In Constant mode (that is, when the CRITERIA CONSTANT
parameter has been specified), you must specify the location,
length, and contents of a fixed field within a record. Each record
is examined at the specified location to determine if the constant
is present (the identifier tabid defines the table containing the
constant). If the specified constant is present and equal (EQ), the
CRITERIA command is true; if the constant is present and not
equal (NE), the command is false.
In Change mode (that is, when the CRITERIA CHANGE
parameter has been specified), you must specify the length and
location of a control field in each record. When the content of the
control field of one record differs from the content of the control
field of the previous record, the CRITERIA command is true.
In Value mode (that is, when the CRITERIA VALUE parameter
has been specified), you compare two numerical values, testing
if they are equal (EQ) or not equal (NE), if one value is greater
than (GT) or less than (LT) the other value, or if one value is
greater than or equal to (GE) or less than or equal to (LE) the
other value. If the test on the two values is satisfied, the
CRITERIA command is true; if not, the command is false.

Using the CRITERIA command

To complete the description of the entire test for a logical
function, the TEST parameter of a logical processing command
must specify either one or two CRITERIA commands.
If only one test is to be performed to determine the value of a
particular logical processing function, the form of the TEST
parameter is as follows:
TEST = criid;
The criid is the identifier for the particular CRITERIA command.
Parentheses in this format are optional.
If two CRITERIA commands are needed to determine the true or
false value for a logical processing function, they may be linked
by either AND or OR. The formats of these TEST parameters
may be as follows:
TEST = (criid1, AND, criid2);
or
TEST = (criid1, OR, criid2);
Using LCDS Print Description Language

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents