Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2001 18:04:58 -0700
From:      "Michael O'Henly" <michael@tenzo.com>
To:        freebsd-questions@freebsd.org
Cc:        Jonathan Chen <jonathan.chen@itouch.co.nz>
Subject:   Re: Groff ps bold character output
Message-ID:  <01050318045800.02341@h24-69-46-74.gv.shawcable.net>
In-Reply-To: <20010504121618.A92641@itouchnz.itouch>
References:  <200105040032.TAA18879@corserv.corserv.com> <20010504121618.A92641@itouchnz.itouch>

next in thread | previous in thread | raw e-mail | index | archive | help
This works for me:

	man -t | lpr

On Thursday 03 May 2001 17:16, Jonathan Chen wrote:
> 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

-- 
Michael O'Henly

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?01050318045800.02341>