Latex
sample.ps
This is the output from the two files above. See the steps below:
1. To get a dvi file:
latex sample
Note: After latex sample is finished you a
message, Latex Warning.
These warning tells you that sample.tex
must be compiled again.
To eliminate the warnings, run the same command again, latex sample.
2. To see the dvi file:
xdvi sample &
3. To convert the dvi file to a
postscript file:
dvips sample
4. To see the postscript file:
gv sample &
5. To print a postscript file
from the
command line type:
lp sample.ps