mailp [options] filename...
newsp [options] filename...
digestp [options] filename...
filep [options] filename...
filofaxp [options] filename...
franklinp [options] filename...
timemanp [options] filename...
timesysp [options] filename...
The mailp utility is a frontend to the mp(1) program. It uses different names to provide various mp options:
Prints out mail messages.
Prints out USENET news articles.
Prints out USENET digest files.
Prints out ordinary ASCII files.
Prints out in Filofax personal organiser format.
Prints out in Franklin Planner personal organiser format.
Prints out in Time Manager personal organiser format.
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.
The following options are supported:
Sends output to the named printer. Otherwise, sends output to the printer named in the PRINTER environment variable.
Generates the PDL for the target printer and spools it to the printer.
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.
Banner printing is disabled. Most of the information that typically appears on the banner sheet is output in the mp banners.
Formats output in landscape mode. Two pages of text will be printed per sheet of paper.
Same as –d option.
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.
The following operand is supported:
The name of the file to be read.
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.
The following exit values are returned:
An error occurred.
See attributes(5) for descriptions of the following attributes:
The –P option, which spools the PDL directly to the target printer in mp(1), produces PostScript™ when used in mailp so as to be backward compatible.