In the SunOS release 4.x software, you need the following command to send a troff file to the default printer.
% troff filename |
In the Solaris 7 operating environment, you must specify that you want the file printed by piping (|) the output to the lp command. Table 11-3 shows the SunOS release 5.7 troff commands.
Table 11-3 SunOS release 5.7 troff Commands
SunOS release 5.7 Command |
Function |
---|---|
troff file | /usr/lib/lp/postscript/dpost|lp |
Sends to default printer that supports troff jobs |
troff file| /usr/lib/lp/postscript/dpost|lp -d printer |
Sends to a particular printer |
troff file | lp-Ttroff |