System Administration Guide: Printing

ProcedureHow to View Information About 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. Request information about a print filter.


    # lpfilter -f filter-name -l
    
    -f

    Specifies the print filter for which you want to view information. Specify all for filter-name to view information about all available print filters.

    -l

    Displays information about the specified filter.

    Information about the specified print filter or filters is displayed.


Example 10–11 Viewing Information About a Print Filter

This example shows how to request information for the postdaisy print filter. Sample command output follows.


# lpfilter -f postdaisy -l
Input types: daisy
Output types: postscript
Printer types: any
Printers: any
Filter type: slow
Command: /usr/lib/lp/postscript/postdaisy
Options: PAGES * = -o*
Options: COPIES * = -c*
Options: MODES group = -n2
Options: MODES group\=\([2-9]\) = -n\1
Options: MODES portrait = -pp
Options: MODES landscape = -pl
Options: MODES x\=\(\-*[\.0-9]*\) = -x\1
Options: MODES y\=\(\-*[\.0-9]*\) = -y\1
Options: MODES magnify\=\([\.0-9]*\) = -m\1


Example 10–12 Viewing Information About All Print Filters on a System

This example shows how to display all the print filters that have been added to the system. Sample command output follows.


# lpfilter -f all -l | grep Filter
(Filter "download")
Filter type: fast
(Filter "postio")
Filter type: fast
(Filter "postior")
Filter type: fast
(Filter "postreverse")
Filter type: slow


Example 10–13 Redirecting Information About a Print Filter

This example shows how to redirect information about the daisytroff filter to a file. This task is useful if a filter definition is removed unintentionally.


# lpfilter -f daisytroff -l > daisytroff.fd