20 October 2006

Printing man pages.

To print man pages with good looking but fast and without waste too much
paper:

%% for one manual
# man -Tps COMMAND > file.ps


%% for more than one (example)
# for i in {hciattach,hciconfig,hcid,hcid.conf,hcidump,hcitool}; do man -Tps
$i > $i.ps ; done;
# psmerge -ojoin.man.ps *ps


Now you can print the ps choosing how many pages per side and other things.

If the result is not fine, try to convert to pdf. Many times it works.

# ps2pdf join.man.ps

0 Comments:

Post a Comment

<< Home

Too Cool for Internet Explorer