From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 10:28:37 2004 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 4D51116A4CE for ; Fri, 9 Apr 2004 10:28:37 -0700 (PDT) Received: from dhumketu.homeunix.net (dialpool-210-214-66-138.maa.sify.net [210.214.66.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 402C443D2D for ; Fri, 9 Apr 2004 10:28:31 -0700 (PDT) (envelope-from freebsd@dhumketu.cjb.net) Received: (qmail 775 invoked by uid 1000); 9 Apr 2004 15:42:55 -0000 Date: Fri, 9 Apr 2004 21:12:55 +0530 From: Shantanoo To: Chris Hill Message-ID: <20040409154255.GA754@dhumketu.homeunix.net> Mail-Followup-To: Chris Hill , Andrew Elmore , freebsd-questions@freebsd.org References: <20040408193736.K26026-100000@frambozen.monochrome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040408193736.K26026-100000@frambozen.monochrome.org> User-Agent: Mutt/1.4.2.1i Organization: Hmmm... I dunno X-OS: FreeBSD 4.9-STABLE i386 cc: freebsd-questions@freebsd.org cc: Andrew Elmore Subject: Re: printing manpages 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: Fri, 09 Apr 2004 17:28:37 -0000 +++ Chris Hill [freebsd] [08-04-04 19:40 -0400]: | On Thu, 8 Apr 2004, Andrew Elmore wrote: | | > [...] I can't for the life of me figure out how to print a manpage. | > The closest "man man" gives me is: | > | > -t Use /usr/bin/groff -S -man to format the manual page, passing the | > output to stdout. The output from /usr/bin/groff -S -man may need | > to be passed through some filter or another before being printed. | > | > Any suggestions on what the command line for that filter looks like? | | I get good-looking results using, for example, | | man -t ipfw | lpr | | ...or plain-vanilla (but readable) results using | | man ipfw | lpr | | FWIW, this is with a Postscript printer. HTH. | | | -- | Chris Hill chris@monochrome.org | ** [ Busy Expunging <|> ] man ipfw | col -bx | less man ipfw | col -bx | lpr