"mprint" is a unix utility script that allows you to print multiple pages on one physical sheet of paper on a network printer. (This script eases the burden of knowing all the proper flags for "pl", the all-powerful print formatting program). To make this work from the Print Tool (*not* Newsprint Tool), select Properties. When the Properties window appears check the "Override Default Print Method" box and press "Apply" and/or "Save as Defaults" as needed. A "Print Method" line will appear in the original print tool window. Use mprint -8 $FILE as the command for 8 pages/sheet. You can then check and un-check the "Override Default Print Method" box to turn it on and off. Jonathan.C.Davis@acenet.auburn.edu (11/07/94) Gregory.A.Parmer@acenet.auburn.edu ================== USAGE: /usr/local/bin/mprint [-pages] [-ddest] [-] filename... pages 2, 4, or 8 (default = 2) dest destination printer name (defaults to local) - treat following arguments as files (allows printing of filenames which start with a hypen) filename one or more space-separated filenames (wildcards are valid) ==== The script ==== #!/bin/sh # # mprint 11-4-94 jdavis Auburn University ACES # # Prints file on printer with multiple pages per sheet of paper # PAGES=2 DEST="" while [ ${#} -ge 1 ] do case "`echo ${1} | cut -c1-2`" in -2) PAGES="`echo ${1} | cut -c2`"; shift;; -4) PAGES="`echo ${1} | cut -c2`n"; shift;; -8) PAGES="`echo ${1} | cut -c2`"; shift;; -l) PAGES="`echo ${1} | cut -c2`"; shift;; -d) DEST="`echo ${1} | cut -c3-`"; shift;; -) shift; break;; # remaining arguments should be filenames *) break;; # remaining arguments should be filenames esac done if [ $# -lt 1 ]; then echo "USAGE: ${0} [-pages] [-ddest] [-] filename..." echo " pages 2, 4, or 8 (default = 2)" echo " dest destination printer name (defaults to local)" echo " - treat following arguments as files (allows printing of" echo " filenames which start with a hypen)" echo " filename one or more space-separated filenames (wildcards are valid)" echo "" exit 1 fi if [ -z "${DEST}" ]; then echo "Printing ${*} with ${PAGES} pages per sheet on default printer." pl --r ${*} :mpage -${PAGES} else echo "Printing ${*} with ${PAGES} pages per sheet on ${DEST}." pl --r --e "/usr/bin/lp -d${DEST}" ${*} :mpage -${PAGES} fi # pl --r FILE :postprint -p l -l 95 -m .85 -s 8 -f LucidaSans-TypewriterBold