Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 1997 12:13:30 -0700 (PDT)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        Random Junk <jsd@gamespot.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: how can i print man-files?
Message-ID:  <Pine.NEB.3.95.970414121257.17836A-100000@narcissus.ml.org>
In-Reply-To: <199704141719.KAA24439@hudsucker.gamespot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Apr 1997, Random Junk wrote:

> M. L. Dodson writes:
> > Try this for something a little more attractive:
> > 
> > zcat <whatever the file name of the man page in gzipped format is> | \
> >   | tbl | groff -mandoc | lpr -P<your postscript printers name>
> > 
> > You DO have ghostscript installed, don't you?  And some printer definition
> > to handle PostScript files?
> 
> how about this?
> 
> man -t ls | lp
> 
> works for me and is pretty easy to remember.
> 
> you don't need the ghostscript package for this to work.  you do need
> groff though.

How about:

% setenv PAGER lp
% man -t foo

:)


 Ben

"You have your mind on computers, it seems."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970414121257.17836A-100000>