home *** CD-ROM | disk | FTP | other *** search
- :
- # Print man pages
- # --- double sided -- assumes that a two-print-tray printer
- # such as the Nec Lc890 is being used...
- # This script is a "sample only". Generally, double sided printing
- # is not a good thing unless your printer is designed to operate
- # cleanly in double-sided mode.
-
- if [ $# = 0 ]
- then
- echo "Usage: $0 [chapter] page"
- exit 0
- fi
-
- case $1 in
- [CFMS1-9] | CP | CT | DOS | HW | LOCAL | UCB ) CHAPTER=$1
- shift;;
- esac
-
- man -b $CHAPTER "$1" | pnf -i | psf -2d | lp
- exit 0
-