Administering filters

Configuring Xprint V7.0

replacement

describes how the option is to be passed on to the filter. It can be extracted from the actual values which may be hidden behind keyword with the help of regular expressions (& and the combina- tions \(, \) and \n). replacement may also contain an asterisk (*) which is replaced by the entire pattern (i.e. it is the same as &).

Examples

A user submits a job with the special mode -sm express. The slow filter supporting this mode is activated with the -xoption. The description for this option reads as follows:

MODES express=-x

A filter is activated by the option -fform_name. This option is described as follows:

FORM *=-f *

A filter is activated, the line spacing (vertical motion) being specified in inches as with the -lpiioption:

V_MOTION \(.*\)i=-lpii \1

or in centimeters as with the -lpicoption:

V_MOTION \(.*\)c=-lpic \1

Another possibility is as follows:

V_MOTION \(.*\)\([ci]\)=-lpi\2 \1

A filter is required which supports the enlargement of the printed text by a variable factor. In this case, the filter should be called with the option -mXwhere X specifies an enlargement factor between 1 and 9. The filter can be defined with the following option:

MODES bigger\=\([1-9]\)=-m\l

The same can be achieved by using the corresponding option of the xpadd -jobcommand; you can set the enlargement factor 3, for example, with

-sm"bigger=3" .

164

U23841-J-Z915-6-76

Page 176
Image 176
Mackie V7.0 manual Or in centimeters as with the -lpicoption, Another possibility is as follows, 164