From owner-freebsd-questions@FreeBSD.ORG Fri Nov 28 21:08:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C56316A4CE for ; Fri, 28 Nov 2003 21:08:48 -0800 (PST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 883E343FD7 for ; Fri, 28 Nov 2003 21:08:46 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp136-184.lns1.adl2.internode.on.net [150.101.136.184])hAT58gEq053417; Sat, 29 Nov 2003 15:38:43 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Antoine Jacoutot , "Ian Todd" Date: Sat, 29 Nov 2003 15:38:41 +1030 User-Agent: KMail/1.4.3 References: <200311282018.57848.ajacoutot@lphp.org> In-Reply-To: <200311282018.57848.ajacoutot@lphp.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200311291538.41583.malcolm.kay@internode.on.net> cc: freebsd-questions@freebsd.org Subject: Re: how to print a man page X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2003 05:08:48 -0000 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