Mathematics Department - Printing

Printing a file

Click here to learn how to set a default printer



In Hill Center we have three printers available for general use:

  • lp29 - Hill 319
  • lp59 - Hill 531
  • lp69 - Hill 601

To print from Unix/Linux use the command lpr. The syntax for the lpr command is

lpr -P<printer> filename

To print a file, named exam1.ps for example, on the printer in Hill 319, type

lpr -Plp29 exam1.ps

The option -P indicates that you are specifying a specific printer and lp29 is the name of the printer in Hill 319. To use the printer in Hill 531, you would substitute lp59 for lp29.

To see a current list of printers (and print queues) available to you type lpstat -p at a shell prompt. Please note that this list does not show all of the printers available in the department.

Printing ordinary text, PostScript (.ps), and Encapsulated PostScript (.eps) are quite easy and are all done in the manner described above. To print a .dvi file, one needs to first use the dvips command to convert the .dvi file to a .ps file before sending it to the printer. For example:

dvips -Plp29 paper.dvi

will send the PostScript output of the file paper.dvi directly to the printer lp29. An alternative is to use the command

dvips paper.dvi -o paper.ps

which creates a version of the same file but in PostScript form. This file can then be printed using the lpr command as shown above.

On the Mathematics Department printers lp29, lp59, and lp69, the default is double sided printing. To print single-sided, the "-S" option is used. For example,

lpr -S -Plp29 exam1.ps

will generate single-sided output of the file exam1.ps on lp29.

Mathematics Department printers also default to using a "header page" to help identify a user's job after it is printed and lying in the tray. This is meant to provide a seperator to keep jobs separated and easily identifiable. However, there are times when you may wish to omit the header page. That is done, using the '-h' option. For example:

lpr -h -Plp29 exam1.ps

will print the file exam1.ps on lp29 without the normal header page.

Please adhere to these guidelines to improve the use of Mathematics Department printers:

  • If you send jobs to lp29, lp59, or lp69, it is expected that you will be responsible for these jobs until they are printed. This means that you should check the progress of your job (perhaps several times) by typing for example lpq -Plp29 to see if the printer is stuck. If the printer has a paper jam or if it is not printing but gives no error message (such as out of paper), please call the operator at extension 5-2443 or send email to operator@math and report the problem. As a courtesy to others, you should pick up your job shortly after printing. If you have printed a long job, check to see that there is still enough paper in the printer. If you send a job to the printer and find that you can not attend to it, you should remove it from the queue by typing lprm -Pprintername jobnumber, where jobnumber is the number of your job shown when you type lpq -Plp29.

  • Please do not print multiple copies of jobs on lp29, lp59, or lp69. Print a single copy and use the copying machine.

  • Please avoid printing entire TeX documents when only a few changes are required. See section Tex for the use of dviselect or dvips to print selected pages of a document, while maintaining the original page numbering.

The MATHEMATICS DEPARTMENT must pay for paper usage with real money, so please avoid excessive printing. In particular, the Department is strongly encouraging the use of web pages to make information available to students, rather than providing hard copy. See webpages.html for details.


This page was last updated on June 07, 2011 at 02:24 pm and is maintained by webmaster@math.rutgers.edu.
For questions regarding courses and/or special permission, please contact ugoffice@math.rutgers.edu.
For questions or comments about this site, please contact help@math.rutgers.edu.
© 2017 Rutgers, The State University of New Jersey. All rights reserved.