U23841-J-Z915-6-76 165
Configuring Xprint V7.0 Administering filters
Creating a new fast filter
● Enter the following command to add a new fast filter for use in Xprint V7.0:
xpadd -flt filter_name -tp FAST -cm command [options]
For filter_name specify the name of the new filter. You must use a name
which does not yet exist in the system, otherwise the command will be
rejected.
With -tp specify FAST.
For command you must specify the path name of the executable file of the
filter program. The path name must be the same on all host computers on
which the filter is stored. If the absolute path name is not specified, the
executable filter file is searched for in the
directory/var/spool/Xprint/config/filters). If -cm (for command) is not
specified, the filter program name must be identical to the filter name.
With options you can specify that defined names, attributes or variables are
passed on to the filter program for processing. The Xprint V7.0 options are
mapped by strings in the following format:
keyword pattern =replacement
There is only one blank between the context-sensitive keyword and the
pattern. The equals sign (=) is not enclosed in blanks. An equals sign within
the pattern must be escaped (by a preceding backslash \).
keyword
specifies what must be considered when the option is generated.
The permitted keywords are listed in the corresponding table in
the “Xprint V7.0 - Reference Manual”. Each keyword represents
context-sensitive attributes which must match the pattern when the
option is generated.
pattern
defines when the option is to be generated. It may be a value, an
asterisk (*) or a regular expression. If pattern matches the actual
values extracted with the keyword, the option is generated.
Otherwise no option is passed on to the filter.