Computer Science

Printing

How do I print my C program from Unix/LINUX?

How do I print a postscript file?

How do I print from Open Office or Mozilla... on LINUX?

Why is my printout from Saturn garbage?

In UNIX, how do I stop printing this 500 page document?

Which printers are available?

How can I see when my job will actually print? 

Should I use recycled paper in the laser printers?

What should I do about the jammed printer?

Where do I get more paper?

How do I print my C program from LINUX?

To print the text file: "RecFunc.cpp" to the big printer by the whiteboard in Olsen 308

lpr -Plaser2 RecFunc.cpp

To print the text file: "README" to the printer in OS310

lpr -Pos310 README

To print the text file: "homework.txt" to the printer in OS314

lpr -Pos314 homework.txt

Note: to print a text file from Saturn or another tru64 machine use a '-text' printer or you'll get garbage output.

How do I print a postscript file?

To print the postscript file "job.ps" to the large printer in OS308 (the linux lab):

lpr -Plaser-2 job.ps

How do I print from Open Office or Mozilla or... on LINUX

On a public Linux or Microsoft Windows computer, choose print from the file menu and your print job should come out in the printer in the room with you.

If you want to pick a printer, put the print command in the Print command property.

In UNIX, How do I stop printing this 500 page document?

If you have only one job

lprm

If you have many jobs

lprm -Uyourusernamehere

If you have another scenario

man lprm

Which printers are available?

Generally, unless you have the key to the room the printer is in, you are limited to these printers.

How can I see when my job will actually print?

lpq-Pl <name of printer>

For example:

lpq - Pos308

Should I use recycled paper in the printer?

No. For every tree you save by re-using paper you will kill 10 more in paper jams. If the printer needs paper, go next door and ask for it.  If OS12A is closed and you have to print something, print to another printer.

What should I do about the jammed printer?

Let the administrators in OS312 know there is a problem. Please do not try to unjam the printer yourself.

Where do I get more paper?

Ask the person sitting behind the desk in OS308 (the linux lab), ask the administrators in OS312, or send email to admin@cs.uml.edu