System Administration Guide: Advanced Administration

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