pmf [ -s ] file... >out.file where -s = show all header lines file = input files (or stdin)
Pmf is a very simple filter for mail documents. It italicizes the used to print entire mail boxes while suppressing unnecessary mail headers.
Mail box message file may be printed with:
pmf mail.file | psf -2 | lp
If psf has been installed as part of the print spooling system, then the output from pmf may be passed directly to the lp spooler with:
pmf mail.file | lp
If multiple mailboxes are printed, it might be preferable to use the command (refer to the man pages for psmbox):
psmbox file file ...
This date-stamps and identifies the mail box name. Each mailbox file is treated as a separate print job. This may result in printer banner pages for each file.
If pmf and psf are used with ELM the user's elmrc file should be modified to specify the following "print" line (or reasonable approximation):
print = /usr/bin/pmf %s | /usr/bin/psf -2 | /usr/bin/lp
Received: References: Path: Message-ID:
and other. If additional headers are to be ignored, the source for pmf.c must be modified.