Technical data

Field Value Description
output-format Document
format
The document format the filter produces on output.
command
text
The command that the server executes
to invoke the filter.
To use a filter, it must be defined in the supervisor. An administrator
defines filters by setting the filter-definition attribute with the pdset
command. For example, the following command line adds a simple-text to
PostScript translation filter to a list of filters known to the supervisor:
# pdset -c server -x "filter-definition+={name=my-text-to-ps \
type=translation input-format=simple-text \
output-format=PostScript command=’/usr/bin/ttp’}" \
blue_sup
Once the filter-definition attribute has a value, more filters are added
using the += syntax. To remove one filter while retaining others, use the -=
syntax and express all five fields exactly. To remove all filter definitions,
use the == syntax as follows:
# pdset -c server -x filter-definition== blue_sup
______________ Important Security Note ______________
Always specify a command executable that can only be replaced
or modified by the root account. Specifying a filter program
that resides in the directory of a nonprivileged user constitutes
a serious security risk.
excluded-filters Printer Attribute
Use the printer excluded-filters attribute to disallow the use of certain
translation filters for a particular printer. The value of excluded-filters
is a list of filter names. When the supervisor chooses a translation
filter for documents directed to the printer, it excludes any filter listed
on this attribute. The supervisor does not ensure that names on the
excluded- filters list are actually defined filters. The supervisor does
not update the excluded-filters attribute if filters are removed from the
filter-definition list.
modification-filter Document Attribute
Users specify the modification-filter document attribute to apply a
modification filter to documents in a job. The value of this attribute is the
name of a filter to be applied to the document data prior to any translation
Document Data Filtering 8–3