From owner-freebsd-questions Thu May 3 17:17: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id D4B5A37B422 for ; Thu, 3 May 2001 17:17:04 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f440GJD93498; Fri, 4 May 2001 12:16:19 +1200 (NZST) (envelope-from jonc) Date: Fri, 4 May 2001 12:16:18 +1200 From: Jonathan Chen To: Kevin Lyons Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Groff ps bold character output Message-ID: <20010504121618.A92641@itouchnz.itouch> References: <200105040032.TAA18879@corserv.corserv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105040032.TAA18879@corserv.corserv.com>; from klyons@corserv.corserv.com on Thu, May 03, 2001 at 07:32:10PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 03, 2001 at 07:32:10PM -0500, Kevin Lyons wrote: > This is embarrassing, but I can't remember how to get groff to print > postscript properly. I'm trying to print a man page and do: > > man pwd | groff > file.ps > > Looking at the file with ghostview shows the bold characters appearing > twice making the whole thing gibberish. I did solve this problem in > the past with a man page, but I've spent the last three hours trying > to find/reinvent the procedure. This should work: zcat /usr/share/man/man1/pwd.1.gz | groff -Tps -man > file.ps -- Jonathan Chen ---------------------------------------------------------------------- Vini, vidi, velcro... I came, I saw, I stuck around To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message