[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Guide to Printers and Printing

Changing / Showing Pre-Processing Filters

This procedure describes how to change or show the command strings that you can run to pre-process print files. A pre-processing filter consists of a command string that you pass to a Korn shell to filter a file before it prints. There are pre-processing filters for each of the values that can be specified with the qprt command -f flag or with the lpr command FilterOption flags.


To change or show pre-processing filters, you must be one of the following:


  1. Type the SMIT fast path:
    smit pqfilters

  2. Select a print queue.

  3. Select the appropriate predefined filter


    Define your own filter by entering a command string that runs the filter, reads the print file from standard input, and writes the filtered print file to standard output. For example, the command string for the pr filter is as follows:

    /usr/bin/pr -l%IwL -w%IwW %F[h] %I@I

[ Previous | Next | Contents | Glossary | Home | Search ]