To print from the labs (I'll assume Jordan labs)...

lpr -P <printername> <filename> If you are printing code, you must use the line printers. The line printers are much more economical. Anywho, the syntax for the line printers is the following:

lpr -P g29lp filename.cpp
lpr -P g28lp filename.cpp


Right now the line printers are down, so you must use the laser printers. The syntax for those is the following:

lpr -P g28lw filename.cpp
lpr -P g28lw filename.cpp

If you are at a different location, you will need to get the name of the printer. In some of the labs, the name of the printers are posted.