System Administration Guide: Advanced Administration

How to View Information About a Print Filter

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

  2. Request information about a print filter.


    # lpfilter -f filter-name -l
    

    -f filter-name

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

    -l

    Displays information about the specified filter. 

    Information about the specified print filter(s) is displayed.

Examples—Viewing Information About a Print Filter

The following example shows how to request information for the postdaisy print filter, and the information that is displayed in response.


# 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

The following example shows how to redirect information about the daisytroff filter to a file (create the filter definition for that filter). This is useful if a filter definition is removed unintentionally.


# lpfilter -f daisytroff -l > daisytroff.fd

The following example shows how to display all the print filters that have been added to the system, and the information that is displayed in response.


# 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