From owner-freebsd-questions Mon May 3 23:56:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from daimler-benz.com (pluto1.str.daimler-benz.com [53.122.2.31]) by hub.freebsd.org (Postfix) with ESMTP id 28263151E2 for ; Mon, 3 May 1999 23:56:18 -0700 (PDT) (envelope-from norbert.meissner@daimlerchrysler.com) Received: by daimler-benz.com; id IAA23992; Tue, 4 May 1999 08:49:55 +0200 (MET DST) Received: from unknown(53.113.192.11) by pluto.daimler-benz.com via smap (V4.2) id xma023897; Tue, 4 May 99 08:49:13 +0200 Received: by S97H1H01 with Internet Mail Service (5.5.2448.0) id ; Tue, 4 May 1999 08:59:17 +0200 Message-ID: From: "Meissner, Norbert" To: "'cjclark'" , " (FreeBSD Questions)" Subject: AW: Printing Manpages Date: Tue, 4 May 1999 08:55:14 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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