STEPS
1. Include the following lines in the main tex file:
\documentclass[landscape,dvips]{foils}
\usepackage{graphicx} % This may not be necessary
\usepackage[pdftex]{geometry}
\geometry{headsep=2.0em,hscale=0.80}
2. compile the *.tex file with the latex command:
latex filename.tex
3. view the file with xdvi:
xdvi -paper a4r filename.dvi
4. convert the dvi file to pdf:
dvipdf filename.dvi