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

Randolph M. Fritz RFritz at lbl.gov
Wed Jan 5 14:46:37 PST 2011


(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





More information about the Radiance-general mailing list