Create conversion filter(s)
If required, create filter(s) to convert
the content type of a file to a type
that matches the printer's input context-type:
-
Create the filter script file in a sub-directory
under the /etc/lp tree.
This file contains the required conversions
and printer feature controls
that are required for the new printer;
there may be none.
See the example
filterit file.
Filters can be created in any programming language,
including shell scripts.
The print service is notified of
new supported filters with the
lpfilter
utility.
-
Create a filter definition file.
See the example
filterit.def file.
-
Use the
lpfilter
command to add the filter definition
to the lp system:
<login as root>
lpfilter -f psduplex -F filterit.def
lpfilter -f psduplex -l # to display its added definition
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005