|
|
10.4: Use Preview to view formatted man pages
I've been using the following little csh script to print manual pages:
But I like this better, because I can view it in Preview and then use whatever printer and options I want using the GUI.
The only thing is that it uses Times, not New Century Schoolbook, to format the pages. (Why do I care? Pure nostalgia -- when I got to UC Santa Cruz back in 1988, the man pages they distributed for our Unix system were all in New Century Schoolbook.) It turns out you can modify the "TROFF" line in /usr/share/misc/man.conf to add the -fN line. Other valid fonts are -fA for Avant Garde, -fBM for Bookman, -fC for Courier, -fH for Helvetica, -fHN for Helvetica Narrow, or -fP for Palatino.
Switching to us-letter using man.conf
You can also modify /usr/share/misc/man.conf to get USLetter (instead of A4) output by adding: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|