Re: Printing man pages
Hi!
> [...]
> > % man -w ls # locate man page for ls
> > % zcat /usr/share/man/man1/ls.1.gz | groff -man -Tps > /tmp/ls.ps
> ^^^^ -mandoc
>
> (so that it works for -mdoc pages like ash(1) too)
I would include a few additional switches for invoking preprocessors, if
need be, so
zcat /usr/share/man/man1/ls.1.gz | groff -etpsR -mandoc -Tps > /tmp/ls.ps
or send it directly to the print queue
zcat /usr/share/man/man1/ls.1.gz | groff -etpsR -mandoc -Tps | lpr -P
<print_queue_name> -
Greetings,
Holger
Reply to: