System Administration Guide: Printing

ProcedureHow to Add a Print Filter

  1. On the print server, become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

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


    # lpfilter -f filter-name -F filter-definition
    
    -f filter-name

    Specifies the name you choose for the print filter.

    -F filter-definition

    Specifies the name of the print filter definition.

    For more information, see the lpfilter(1M) man page.

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

  3. Verify that the print filter was added.


    # lpfilter -f filter-name -l
    

Example 10–9 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