lp -d[printername] alghw1.ps
The only thing missing from the above is the name of the printer you are using to print from.
The other way to print the file is to download the LaTeX file (which is the version that ends in .tex) and convert it into something printable. You can do this from homer by typing the following commands in a directory that contains the LaTeX file. If you want to print HOMEWORK I, download the LaTeX file, which is called ``alghw1.tex''. Then type:
latex alghw1
dvips alghw1
lp -d[printername] alghw1.ps
The only thing missing from the above is the name of the printer you are using to print from.
HOMEWORK I, alghw1.tex, alghw1.ps
HOMEWORK II, alghw2.tex, alghw2.ps
HOMEWORK III, alghw3.tex, alghw3.ps
HOMEWORK IV, alghw4.tex, alghw4.ps
HOMEWORK V, alghw5.tex, alghw5.ps
HOMEWORK VI, alghw6.tex, alghw6.ps
HOMEWORK VII, alghw7.tex, alghw7.ps
HOMEWORK VIII, alghw8.tex, alghw8.ps
HOMEWORK IX, alghw9.tex, alghw9.ps