University of Iowa College of Liberal Arts & Sciences

  Computer Science | Mathematics | Statistics and Actuarial Science | Applied Mathematical and Computational Sciences | Informatics

Mathematical Sciences Computer Support Group

Printing


next up previous
Next:Shells and Shell Startup Files Up:Basic UNIX Previous:Email

To print to a printer, use the lpr command:

     lpr -Pprint_queue file_name

where you would substitute the name of the appropriate print queue for print_queue and the name of the file you want to print for file_name.

To see the status of a print queue, use the lpq command:

     lpq -Pprint_queue
where print_queue would be the name of the queue.

If you want to cancel your print job, you will need to know the job number. Use lpq -Pprint_queue to see the job number. Then use the lprm command. To use lprm, type:

     lprm -Pprint_queue job_number

where you would substitute the name of the appropriate queue for print_queue and job_number from the output of lpq.

A list of available print queues can be found in the section Printers of the document Equipment and Software Available in Mathematical Sciences.

Printing is also available from any ITC on campus. For information about printing in an ITC, ask an ITC monitor, visit the ITC Printing Support Site or contact the ITS Help Desk.