Description

The mailp utility is a frontend to the mp(1) program. It uses
different names to provide various mp options:

mailp

Prints out mail messages.

newsp

Prints out USENET news articles.

digestp

Prints out USENET digest files.

filep

Prints out ordinary ASCII files.

filofaxp

Prints out in Filofax personal organiser format.

franklinp

Prints out in Franklin Planner personal organiser format.

timemanp

Prints out in Time Manager personal organiser format.

timesysp

Prints out in Time/System International personal organiser format.

mailp and the associated programs read each filename in sequence and generate
a prettified version of the contents. If no filename arguments are provided,
mailp reads the standard input.

mailp works in two ways. With the -D option, it will work
as an X print server client to produce the PDL of the
target printer and spool it. With the -d or -P option, it
will generate and spool PostScript™ output.

Options

The following options are supported:

-dprinter

Sends output to the named printer. Otherwise, sends output to the printer named in the PRINTER environment variable.

-D

Generates the PDL for the target printer and spools it to the printer.

-F

Instead of printing who the mail article is for, the top header will contain who the mail article is from. This is a useful option for people with their own personal printer.

-h

Banner printing is disabled. Most of the information that typically appears on the banner sheet is output in the mp banners.

-l

Formats output in landscape mode. Two pages of text will be printed per sheet of paper.

-Pprinter

Same as -d option.

-ssubject

Uses subject as the new subject for the printout. If you are printing ordinary ASCII files which have been specified on the command line, the subject will default to the name of each of these files.

Operands

The following operand is supported:

filename

The name of the file to be read.

Environment Variables

If none of the -d, -D, or -P options is used, mailp
uses the PRINTER environment variable to determine the printer to which the
output from the mp(1)program is sent. If the PRINTER variable is not
found, the default destination is the PostScript™ printer.