BBS水木清华站∶精华区

发信人: Nightrain.bbs@bbs.cs.nccu.edu.tw (能否与□一生守候), 看板: linux 
标  题: Re: How to print "man" 
发信站: 政大资科猫空行馆 (Fri Aug 30 01:47:33 1996) 
转信站: maple!news.ee.nthu!news.csie.nctu!news.cc.nctu!server2.nccu!smallcatBB 
 
※ 引述《epcofae.bbs@bbs.ee.nthu.edu.tw (david)》之原文: 
 Hi, guys : 
 I just install the aps-491. It works perfectly. 
 However when I trying to print out the "man" content, I just get "garbage" 
 The command I typed is : man echo | lpr 
 Is that correct? If NOT , How can get the man content printed out? 
 All suggestions and comments are wellcome. 
 Thanks. 
 
   Try this: 
             man echo > /dev/lp2 
                               ^this is the lpt port 
 
 
 -------------------------------------------------------------------------- < 
 
发信人: meowmeow.bbs@bbs.cs.nthu.edu.tw (我怕猫!), 看板: linux 
标  题: Re: How to print "man" 
发信站: 清华资讯系学会(枫桥驿站) (Fri Aug 30 01:58:37 1996) 
转信站: maple!news.ee.nthu!news.csie.nctu!aidebbs!news.isl.net.tw!UUserv-Net!n 
 
※ 引述《epcofae.bbs@bbs.ee.nthu.edu.tw (david)》之铭言: 
 Hi, guys : 
 I just install the aps-491. It works perfectly. 
 However when I trying to print out the "man" content, I just get "garbage" 
 The command I typed is : man echo | lpr 
 Is that correct? If NOT , How can get the man content printed out? 
 All suggestions and comments are wellcome. 
 Thanks. 
 
有一种方法可以印出漂漂的manual...但是不是"man echo | lpr"这种界面 
anyway, 参考看看... 
 
     groff -mandoc -TTYPE foobar.1 | lpr 
 
   Where TYPE is one of `ascii', `dvi', `ps', `X100', `X75', `latin8'. 
                                        ^^^^用这个罗! 
有兴趣的话可以看看groff的manual... 
 
 -------------------------------------------------------------------------- < 
 
发信人: albert@hep1 (Hsuan-Cheng Huang), 看板: linux 
标  题: Re: How to print "man" 
发信站: High Energy Physics Lab., NTU, Taipei (Fri Aug 30 12:59:48 1996) 
转信站: maple!news.ee.nthu!news.cis.nctu!news.cc.nctu!spring!netnews.ntu!hep1! 
 
猫! (meowmeow.bbs@bbs.cs.nthu.edu.tw) wrote: 
 ※ 引述《epcofae.bbs@bbs.ee.nthu.edu.tw (david)》之铭言: 
 : I just install the aps-491. It works perfectly. 
 : However when I trying to print out the "man" content, I just get "garbage" 
 : The command I typed is : man echo | lpr 
 : Is that correct? If NOT , How can get the man content printed out? 
 
 有一种方法可以印出漂漂的manual...但是不是"man echo | lpr"这种界面 
      groff -mandoc -TTYPE foobar.1 | lpr 
    Where TYPE is one of `ascii', `dvi', `ps', `X100', `X75', `latin8'. 
                                         ^^^^用这个罗! 
 
Just use the following command, which is the same as what groff does: 
        man -t echo | lpr 
            ^^ 
 
- HCH 0830 
 

BBS水木清华站∶精华区