Calvin seal CS 108: Introduction to Computing
Spring 2006

Printing in the GLU-lab

Pretty Printing

Unfortunately, Eclipse does not allow you to print your code. You'll have to resort to the command line.

There's a nifty program on the GLUW-lab machines called a2ps, "anything to PostScript". It takes any type of file and prints a pretty version of it on the GLU-lab printer.

To print your code, just run

a2ps filename(s)

where filename(s) should be replaced by the name(s) of the file(s) you wish to print. The program will take care of processing the files.

Don't use any other program to print your output. a2ps does everything you need much better than anything else could.