System Administration Guide: Advanced Administration

How to Add a Print Filter

  1. Log in as superuser, lp, or assume an equivalent role on the print server.

  2. Add a print filter that is based on a print filter definition.


    # lpfilter -f filter-name -F filter-def
    

    -f filter-name

    Name you choose for the print filter. 

    -F filter-def

    Name of the print filter definition. 

    For more information, see lpfilter(1M).

    The print filter is added in the print server's /etc/lp/filter.table file.

  3. Verify that the print filter was added by checking for information about the print filter in the output of the following command.


    # lpfilter -f filter-name -l
    

Example—Adding a Print Filter

The following example shows how to add the daisytroff print filter that has the daisytroff.fd print filter definition.


# lpfilter -f daisytroff -F /etc/lp/fd/daisytroff.fd