Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2005 16:26:22 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Gerard Seibert <gerard-seibert@suscom.net>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Printing MAN pages
Message-ID:  <20050908142622.GN20229@pcwin002.win.tue.nl>
In-Reply-To: <Pine.WNT.4.63.0509081012070.3172@Treneq.frvorepbz.arg>
References:  <Pine.WNT.4.63.0509081012070.3172@Treneq.frvorepbz.arg>

next in thread | previous in thread | raw e-mail | index | archive | help

--pyE8wggRBhVBcj8z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 08, 2005 at 10:17:40AM -0400, Gerard Seibert wrote:
> I am trying to figure out how to print 'man' pages. If I try a simple=20
> redirect, such as: "man foo > foo.txt" the new file is loaded with contro=
l=20
> symbols, etc. that are not really printable. I want to save the files if=
=20
> possible, and print them out at a later date. It that is not possible, ho=
w=20
> would I go about printing them out in real time?

$ gunzip -c `man -w ls` | groff -mdoc -Tps | lpr

delivers a nicely formatted postscript manpage for ls(1) to your printer.
I don't know if man can do it by itself.

HTH,

--Stijn

--=20
The right half of the brain controls the left half of the body.  This means
that only left handed people are in their right mind.

--pyE8wggRBhVBcj8z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDIEoOY3r/tLQmfWcRAiHcAJ0cB9T18auCx+gBXZo/EsvbTCXUOwCfWp7E
WMjtr3HHqzgFpymMSJS8irQ=
=g/Sk
-----END PGP SIGNATURE-----

--pyE8wggRBhVBcj8z--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050908142622.GN20229>