Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2001 12:16:18 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Kevin Lyons <klyons@corserv.corserv.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Groff ps bold character output
Message-ID:  <20010504121618.A92641@itouchnz.itouch>
In-Reply-To: <200105040032.TAA18879@corserv.corserv.com>; from klyons@corserv.corserv.com on Thu, May 03, 2001 at 07:32:10PM -0500
References:  <200105040032.TAA18879@corserv.corserv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                                                 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




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