Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2003 15:38:41 +1030
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        Antoine Jacoutot <ajacoutot@lphp.org>, "Ian Todd" <isa@mailbox.co.za>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to print a man page
Message-ID:  <200311291538.41583.malcolm.kay@internode.on.net>
In-Reply-To: <200311282018.57848.ajacoutot@lphp.org>
References:  <web-188788669@mail01.infosat.net> <200311282018.57848.ajacoutot@lphp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Nov 2003 05:48, Antoine Jacoutot wrote:
> On Friday 28 November 2003 20:10, Ian Todd wrote:
> > I have installed a local printer on /dev/lp0. I want to
> > print a man page how do i do that? Will it also fit onto
> > the page? i dont need to setup the size of my page?Thanks.
>
> $ groff -Tps -man /path/to/man/page/man.1 | lpr -P PS-Printer
>

This is making hard work of it. You need to first find the path to the=20
man page; but man itself is capable of preparing a PS output:

$ man -t manpage | lpr -P PS-Printer

Malcolm Kay



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