printing examples

Simple printing of programs, 2 columns per page, with syntax highlighting:

a2ps prog.py

Other ways you could print a file:

lpr filename
enscript -2rhGj filename
mpage -4f filename | lpr

To see a list of printer names and locations:

printers

To send a file (prog.py) to a specific printer (in this example, thedicer in 240):

a2ps -P thedicer prog.py

If a printer seems stuck, take a look at the jobs in the print queue. You should be able to delete any jobs that are stuck, allowing other jobs to go through.


Back to SwatCS Help Docs