Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 1999 08:55:14 +0200 
From:      "Meissner, Norbert" <norbert.meissner@daimlerchrysler.com>
To:        "'cjclark'" <cjclark@home.com>, " (FreeBSD Questions)" <freebsd-questions@FreeBSD.ORG>
Subject:   AW: Printing Manpages
Message-ID:  <A991441F7BF5D111B2BB0008C7A410113D071A@sutgxs05.str.daimlerchrysler.com>

next in thread | raw e-mail | index | archive | help
hi crist,
have a look at a2ps (a4 or letter size, what you prefer) at the ports. =
it
just does what you want, especially for man pages. if you haven't any
ps-printer you should also have a look at ghostscript.

Norbert

> -----Urspr=FCngliche Nachricht-----
> Von:	Crist J. Clark [SMTP:cjc@cc942873-a.ewndsr1.nj.home.com]
> Gesendet am:	Dienstag, 4. Mai 1999 06:23
> An:	 (FreeBSD Questions)
> Betreff:	Printing Manpages
>=20
> I want to print out some long manpages. I know how to convert a
> manpage to Postscript and print it quite easily,
>=20
> % man -t topic | lpr
>=20
> Where 'topic' is the page of choice.=20
>=20
> However, I'd like to print two columns on a page (two manpage pages
> per page of paper). I know of a kind of ugly work around,
>=20
> % gunzip -c /usr/share/man/man1/topic.1.gz | groff -man -Tascii | =
enscript
> -2r
>=20
> But that is an ugly command line and the output is not too pretty
> either (it works, but unless enscript gets some tweaking, page breaks
> and other things are off).
>=20
> Anyone have a better way to convert manpages to a pretty two column
> per page form? Perhaps piping through gs somehow (the word 'column' =
is
> not even on 'man gs' so I don't know where to start there)? Or maybe
> enscript is the right tool with some different options?
>=20
> Thanks for any help.
> --=20
> Crist J. Clark                           cjclark@home.com
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


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