TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:10039] Printing man pages
Cool. Thanks!
Ben
--
"There is no spoon"
-- The Matrix
On Fri, 12 Nov 1999, Steve Siegfried wrote:
> Ben Beuchler wrote:
> >
> > I would like to be able to print out a man page or two for some quiet
> > reading by the fire. Unfortunately, the are printed in some sort of
> > markup language. As near as I can tell from the config files and other
> > man pages, it's something designed for groff. So, thinking quickly, I
> > tried to use groff to format them for postscript, which my printer will
> > support. No dice. Came out rather... funky. Does anyone know a good way
> > to do this? I would prefer to be able to print with mpage or something
> > similar so I don't run off 20 pages of text.
> >
> > Ben
>
> Yeah, try a script like:
>
> > #!/bin/ksh
> > man -t $* | mpage -2 | lpr
>
> -sos@skypoint.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
>
>