OpenWindows Advanced User's Guide

7.4 Printing Letters

You can print a hard copy of a letter by piping a letter to a printer command. To do this, use the command form:

|number lp

at a mailx prompt. (The | symbol is called a pipe.) For example, to print a copy of letter 2, type:

& |2 lp

and press Return. If a letter number is not specified, mailx pipes the current letter to the printer. For more information on piping, see "2.2.5 Redirecting and Piping Command Output" in Chapter 2, Basic SunOS Commands.