Solaris 移行ガイド

troff による印刷

SunOS 4 では、troff ファイルをデフォルトプリンタに送信するために次のコマンドが必要です。


% troff filename

Solaris 7 環境では、パイプ (|) を使用して lp コマンドにファイルを出力する必要があります。表 11-3 は SunOS 5.7 の troff コマンドを示します。

表 11-3 SunOS 5.7 の troff コマンド

SunOS 5.7 コマンド 

機能 

troff file | /usr/lib/lp/postscript/dpost|lp

troff ジョブをサポートするデフォルトプリンタに送信する

troff file| /usr/lib/lp/postscript/dpost|lp -d printer

特定のプリンタに送信する 

troff file | lp-Ttroff

troff ジョブをサポートする任意のプリンタに送信する