Detailed Instructions for printing Lecture Notes

Lecture notes are available as either .pdf files, or as compressed postscript files from the course account on the Ubuntu machines. The instructions below are for compressed postscript file (suffix .ps.gz). For .pdf files, just copy the .pdf files to your favorite machine and use your favorite .pdf viewer to look at and print them. One viewer available on the Ubuntu machines is gv, but there are others as well.

Note for a detailed explanation of the format of these files, you can look at this explanation.

First logon or putty or ssh to a prime/p1/p2 client (e.g. odd05). The name may need to be fully spelled out (odd05.cs.ohio.edu). Then you should do the following:

odd05.cs.ohio.edu% cp /home/cs6800/lectures/lec01.ps.gz .
odd05.cs.ohio.edu% gunzip lec01.ps.gz
odd05.cs.ohio.edu% lp lec01.ps
request id is 6
odd05.cs.ohio.edu% 

The results will appear on the printer in room Stocker 307 by default. It is possible to print to other printers, please ask someone familiar with Unix for help. Repeat the above steps altering the lec01 to lec02, lec03, ... to print the other lectures notes.

To see what files are available use the ls (listing) command of Unix.

odd05.cs.ohio.edu% ls /home/cs6800/lectures
lec01.ps.gz	lec02.ps.gz	lec03.ps.gz	lec04.ps.gz	syl.ps.gz
odd05.cs.ohio.edu% 

Note: you should feel free to remove the files from your account after printing them out to save disk space. To do this simply type:

odd05.cs.ohio.edu% rm lec01.ps
odd05.cs.ohio.edu% 
And the file is gone.

NOTE: to view postscript, or pdf files on prime/p1/p2 or the newer odd03, etc. machines, you can use the gv program. You don't even need to uncompress the lecture, you can simply type:

odd05.cs.ohio.edu% gv lec01.ps.gz
And you can view the lectures on any ubuntu machine. To get them to appear rightside up, use the view menu and choose landscape, also you might want to choose size letter under the view menu as well.

Note, gv can print pages using its gui interface as well.


Class Homepage

David M. Chelberg <chelberg@ohio.edu>
last-modified: Mon Jan 13 12:08:59 2020