pr - Print Command (stdout) +p - Begin the display with page number p (default is 1) -N - Display in N columns -d - Double-space the display -ecK - Expand tabs to charater positions K+1,2K+1,3K+1, etc default 8,16,24,etc:char entered as c used as tab char -ncK - Number each line with K-digit (default=5) -mW - Width of each column M chars when w/2+ columns (default=72) -oO - Offset each line by ) char positions to the right -lL - Set the length of a page to L lines (default=66) -h header - Text of the header of each page -p - Pause end of each page..ring term bell...proceed [return] -f - Use a form-feed char instead of a sequence of line feeds to begin a new page. Pause b/w each page -r - Do not print an error msg about files cannot be opened -t - omit 5 line header and trailer -sS - Separate columns by the char entered for S in place of tab -F - Fold lines to the width of the col in multi-col disp mode -m - Merge and disp up to eight files, one per column. (!-N-a) How to print pages with a margin for hole punching. #!/bin/sh # /usr/local/bin/print # a simple formatted printout, to enable someone to # 3-hole punch the output and put it in a binder cat $1 | pr -t -o 5 -w 85 | lpr