Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "7.21 How can I partition HP-UX disks on 700s at 9.x?"
Next document is "7.23 How can I limit core files?"

7.22 How can I print man pages successfully?

To get the italic and bold fonts from the man file on a LaserJet:

zcat manfile.1 | nroff -man -Tlj | lpr ...

On a PostScript printer ( you need the GNU groff):

zcat manfile.1 | groff -man -Tps | lpr ...


If your man file is a complex one including tables, pipe it through tbl.

Some man pages like ioctl may need the HP macros:

zcat manfile.1 | groff -t -e -C -M/usr/lib/tmac -man -Tps | lp ...

(Thanks to Poul Moller, Markus Gyger)

Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "7.21 How can I partition HP-UX disks on 700s at 9.x?"
Next document is "7.23 How can I limit core files?"