Printing and Printers
For instructional (student) printing, please see Printing in the Instructional Labs
Computer Sciences Printers
Printers are located on every floor of the Computer Sciences building where the Computer Sciences Department has offices. There are also some printers in some offices to meet special needs.
The standard printer on most floors are color multifunction printers with scanning and copying capabilities. Except when color is necessary, please print in black-and-white in order to save money.
How to Print
On CSL Linux computers
Print Commands
lpr <filename>
: This is the basic print command. It will print the file to your default printer in standard format with 66 lines/page and 80 columns/line. If you are printing a Postscript file, be sure to use this command and not print. If the file is in a format other than Postscrpt, it must be converted before printing./s/std/bin/print <filename>
: Also prints to your default printer. print will reformat the text into 2-columns per page with borders and details.
Cancelling Jobs
lprm <username>
will cancel all jobs by that user. You can use the -Pprinter
option to specifiy a printer. This is the quickest way to cancel a job.
Otherwise:
lpq
Checks the printer queue and displays all jobs currently printing and waiting. Again, you can use the-P<printer>
option to specify a printer. Find the job you want to cancel and get the number assigned to it, then use:lprm -P<printer> <job#>
to cancel the job.
Print Options
Basic Commands
lpr -P<printer> <filename>
Specifies which machine the file will print to depending on which printers you can access. Note: To get a list of printers you have access to use lpquota -p/s/std/bin/print -[1,2,or 4] <filename>
Allows you to print 1,2,or 4 pages per sheet. In addition to print, you may also usea2ps
,mpage
, orpsnup
for multiple pages/sheet if print is not a viable option for the document you wish to print. If this is the case, please see the man pages for how to use these other programs. This only works for text files; do not use this option for PDF or PostScript documents.
Specialized lpr
Options
Most options below are specified with the -o flag. You can specify multiple -o options by quoting all arguments together or using multiple -o options. The following are equivalent:
lpr -o Inputslot=MultiTray -o Duplex=None <filename>
lpr -o "Inputslot=MultiTray Duplex=None" <filename>
Multiple copies:
lpr -#<copies> <filename>
Manual Feed
This command is for printing to the bypass/manual feed tray . The printer will wait until you have placed the paper into the tray before printing.
Printer Type | Command |
---|---|
Ricoh/Lanier printers | lpr -Pprinter -o InputSlot=MultiTray filename |
HP printers | lpr -Pprinter -o InputSlot=ManualFeed filename |
Xerox printers | lpr -Pprinter -o InputSlot=MF filename |
Duplex Options
Mode | Command |
---|---|
Simplex (1-sided) printing | lpr -Pprinter -o Duplex=None filename |
Duplex (2-sided) printing, bind on long side | lpr -Pprinter -o Duplex=DuplexNoTumble filename |
Duplex (2-sided) printing, bind on short side | lpr -Pprinter -o Duplex=DuplexTumble filename |
Stapling Options (5th floor copier only)
lpr -Pprinter -o StapleLocation=location filename
Where location is one of the following:
Staple Mode | location value |
---|---|
top-left corner | UpperLeft |
top-right corner | UpperRight |
2 staples, left side | LeftW |
2 staples, right side | RightW |
2 staples, top side | UpperW |
Watermark Options (all Ricoh/Lanier copiers and printers, including instructional labs)
Description | Command / Option |
---|---|
Enables watermark printing; customize with the options below | lpr -Pprinter -o RIWatermark=on filename |
Select text of the watermark; valid choices: Confidential , Copy , Copyright , Final , FileCopy , Proof , and TopSecret |
-o RIWMText=Text |
Sets watermark font; valid choices are CourierB , TimesB , HelveticaB (defaults to HelveticaB ) |
-o RIWMFont=font |
Sets watermark size; valid choices: 24 , 36 , 48 , 60 , 72 pt (defaults to 36 ) |
-o RIwmSize=location |
Sets watermark angle (defaults to 45 degrees) | -o RIwmAngle=angle |
Sets watermark style; choices are Gray and Outline (defaults to 45 Gray) |
-o RIwmStyle=style |
Watermark Options (HP printers)
Description | Command / Option |
---|---|
Enables watermark printing, valid choices for text are as follows: Draft , CompanyConfidential , CompanyProprietary , Confidential , Copy , Copyright , FileCopy , Final , ForInternalUse , Preliminary , Proof , ReviewCopy , Sample , TopSecret , Urgent ; customize with the options below |
lpr -Pprinter -o HPwmText=on filename |
Sets watermark font; valid choices are CourierB , TimesB , HelveticaB (defaults to HelveticaB ) |
-o HPwmFont=font |
Sets watermark size; valid choices: pt24 , pt30 , pt36 , pt42 , pt48 , pt54 , pt60 , pt66 , pt72 , pt78 , pt84 , pt90 (defaults to pt48 ) |
-o HPwmSize=location |
Sets watermark angle; valid choices: Deg90 , Deg75 , Deg60 , Deg45 , Deg30 , Deg15 , Deg0 , DegN15 , DegN30 , DegN45 , DegN60 , DegN75 , DegN90 (defaults to Deg45 ) |
-o HPwmAngle=angle |
Sets watermark style; choices are Thin , Medium , Thick , Halo (defaults to Medium ) |
-o HPwmStyle=style |
On CSL Windows computers
Printing
File | Print
will open up the printing window with option menus allowing you to choose which printer the job will go to, how many copies, etc. The duplex mode is configured to be the default mode, but you can change that for your account if needed. There should be a Printer Properties button in the print pop-up for most if not all our printers; you can control number of copies, “N-up” printing, watermarks, duplex options, etc. from there. If you need something that is not listed in this window, click on advanced for more options such as page orientation. Select the options that you want and click OK.
Note: Not all printers have user-controllable printer options.
Cancelling a Job
At this time, jobs can only be cancelled from a Linux host. If you have a job printing you wish to cancel, you can press the Cancel button on the printer to stop the job from printing. On our copiers, you’ll need to press the Printer mode button to find this cancel button.
Paper Quota
Students enrolled in Computer Sciences classes have a printer quota of 150 print pages per class. The printer quota is reset each semester. If you need more printing for your class, please ask your instructor to notify the lab to increase your print quota.
Faculty, Staff, and Graduate Students are provided an unlimited print quota.
Checking your Quota
On Linux: lpquota
will display your used and total printer quota.
On Windows: There is currently no tool to check quota from Windows 7. Please log into a Linux machine and use the above command while we work to fix this.
Printer Access and Defaults
On CSL Linux computers
Checking Access
lpquota -p
will give you a list of printers you have access to.
Changing the Default Printer
Set the PRINTER environment variable before running the print command, either manually or by adding appropriate lines to your dot files:
export PRINTER=<printername>
(.bashrc.local for bash users)setenv PRINTER <printername>
(.cshrc.local for tcsh/csh users)
To set the default printer in GNOME applications started through the GNOME desktop menus, you will need to set a default printer in your .bashrc.local
file (or .bashrc
or .profile
files if you do not have a CSL-provided .bashrc
and .bash_profile
in your account).
On CSL Windows computers
Setting a Default
- Open the
Printers
list, either fromMy Computer
or fromStart Menu
->Settings
->Printers
- Double click on the printer queue you want to make the default
- Select
Printer
->Set As Default Printer
Printing on Colored Paper
Colored paper is only loaded by default on the 5th floor copier. You can use manual-feed on other copiers to get colored paper.
On Linux Systems
Add the -Z color
option to your print command to get colored paper.
On Windows computers
- On CSL Windows computers choose
Color1
as thePaper Type
, located in theOptions
section of the print menu. - On laptops and other Windows computers not supported by the CSL, you will need to go into the printer setup and set up paper input as follows:
Tray | Orientation | Size | Type |
---|---|---|---|
Tray 1 | Portrait (vertical) orientation | Letter | Plain |
Tray 2 | Portrait (vertical) orientation | Letter | Color1 |
Tray 3 | Landscape (horizontal) orientation | Legal | Plain |
By-pass | Portrait (vertical) orientation | Letter | Transparency |