[Radiance-general] Printing man pages on a Mac on US-sized paper

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Wed Jan 5 15:10:48 PST 2011


Hi Randolph,

man -t rtcontrib | open -f -a /Applications/Preview.app/

Yay Mac. =8-)
 
Rob Guglielmetti  IESNA, LEED AP
Commercial Buildings Research Group
National Renewable Energy Laboratory
1617 Cole Blvd MS:RSF202
Golden, CO 80401
T. 303.275.4319
F. 303.630.2055
E. robert.guglielmetti at nrel.gov





On 1/5/11 3:46 PM, "Randolph M. Fritz" <RFritz at lbl.gov> wrote:

>(A brief note for anyone who needs this.)
>
>First, set the default paper size in the groff driver by:
>  sudo find /usr/share/groff -name DESC -exec perl -pi -e 's/^papersize
>a4/papersize letter/' {} \;
>
>Then, the following command will create a PostScript file for a page
>without equations or tables:
>     groff -Tps -mandoc -c -dpaper=letter `man -w rtcontrib` >t.ps
>
>t.ps can then be opened in "preview" and printed.
>
>Bah!
>-- 
>Randolph M. Fritz € RFritz at lbl.gov
>Environmental Energy Technologies Division € Lawrence Berkeley Labs
>
>
>
>_______________________________________________
>Radiance-general mailing list
>Radiance-general at radiance-online.org
>http://www.radiance-online.org/mailman/listinfo/radiance-general




More information about the Radiance-general mailing list