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 &).

Copying and modifying an existing filter

With the xpcopy -fltcommand you can add a filter which has similar attributes to those of a filter already defined in the Xprint V7.0 system. For this purpose simply copy the attributes of an existing filter to a new filter and modify the attributes you want to change.

The new filter is set up on the computer on which the xpcopy -fltcommand is used. This can be avoided by specifying a different host with the -ahoption.

Display the defined filters to check whether the filter to be copied actually exists in the system:

xpshow -flt filter_name

For filter_name specify the name of the filter to be copied.

Copy the filter:

xpcopy -fltname_old_filter name_new_filter [modifications]

For name_old_filter specify the name of the filter you want to copy.

For name_new_filter specify the name of the new filter. Here you must use a name that does not yet exist in the system; otherwise the command is rejected.

For modifications specify the values you want to modify or add. The options correspond to the options that can be used when adding a filter to the Xprint V7.0 system. There is, however, the following restriction: The option

-tpfilter_type cannot be modified with the xpcopy -fltcommand.

Example

To create a new filter called fastmail by copying the filter slowmail. You also want the new filter fastmail not to be available on your local host colorado but on the remote host nile:

xpcopy -flt slowmail fastmail -ho nile

166

U23841-J-Z915-6-76

Page 178
Image 178
Mackie V7.0 Copying and modifying an existing filter, Tpfiltertype cannot be modified with the xpcopy -fltcommand, 166