From owner-freebsd-questions@FreeBSD.ORG Thu Sep 8 14:26:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0DA1916A440 for ; Thu, 8 Sep 2005 14:26:26 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A2143D45 for ; Thu, 8 Sep 2005 14:26:25 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by kweetal.tue.nl (Postfix) with ESMTP id 259E213B686; Thu, 8 Sep 2005 16:26:24 +0200 (CEST) Received: from kweetal.tue.nl ([127.0.0.1]) by localhost (kweetal.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64326-04; Thu, 8 Sep 2005 16:26:23 +0200 (CEST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by kweetal.tue.nl (Postfix) with ESMTP id 8C36C13B67A; Thu, 8 Sep 2005 16:26:22 +0200 (CEST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.4/8.13.4/Submit) id j88EQMJd059071; Thu, 8 Sep 2005 16:26:22 +0200 (CEST) (envelope-from stijn) Date: Thu, 8 Sep 2005 16:26:22 +0200 From: Stijn Hoop To: Gerard Seibert Message-ID: <20050908142622.GN20229@pcwin002.win.tue.nl> Mail-Followup-To: Stijn Hoop , Gerard Seibert , freebsd-questions References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pyE8wggRBhVBcj8z" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Virus-Scanned: amavisd-new at tue.nl Cc: freebsd-questions Subject: Re: Printing MAN pages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 14:26:26 -0000 --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--