Today is:
Steps:
- Use "a2ps" to produce a postscript file for all text files.
- Example:
a2ps --line-numbers=1 --medium=Letterdj -4 -o new.ps new.txt new2.txt
- The -4 indicates that four pages will be printed on a single page.
- You can use separate a2ps commands for files that can only fit on a single page.
- Save all Matlab plots to *.eps (Encapsulated Post Script) files.
- Example:
- Use "cat" to concatenate all the *.ps and *.eps files in the appropriate order.
- This will produce a master *.ps file.
- Example:
cat pr3a.ps pr3b.ps pr3b_fig.eps > pr3.ps
- Use "ps2pdf13" to generate a *.pdf file from the *.ps file.
- Example:
ps2pdf13 pr3.ps pr3.pdf
- NOTE: You could use acrobat's "distill" program (/usr/pkg/Acrobat/bin/distill)
in place of "ps2pdf."
- Example:
distill -files pr3.ps
- The above command will automatically produce a file called pr3.pdf.
- Example:
- Example:
- Use "acroread" to view and print the *.pdf file.
- Example:
acroread pr3.pdf
- Example:
Jeremy W. Webb Graduate Student Electrical and Computer Engineering Department One Shields Avenue Davis, CA 95616
