return to first page linux journal archive
keywordscontents

Listing 2. Simple Filter for an Attached Printer

# simple filter for an attached printer
filtered|printer with filter:\
        :lp=/dev/lp:\
        :lf=/var/adm/lpd-errs:\
        :of=/var/spool/lpd/hp/filter:\
        :sf:sh:\
        :sd=/var/spool/lpd/hp: