Skip to main site navigation
Skip to main content
Switch to text-only view
Switch to default view

COMPUTER AND INFORMATION SCIENCES

Thumbdrive in Computer

Printer: cslp2


Printing From Linux

Use the lpr command followed by the printer name and the file to print. 

To print from cs07 to cs12 it is not necessary to specify the printer. 
Example: [~ 99]$ lpr your-filename-to-print

To print from cs01 to cs06 or cs13 to cs28 use the –P option to specify printer. 
Example: [~ 99]$ lpr -Pcslp2 your-filename-to-print


Cancel Printing From Linux

To cancel printing, enter lpq and the printer name with the –P option. This gives you the job’s queue number. Then enter lprm, the printer name with the –P option, and the job number to remove.

 
Example.  Enter lpq & printer at prompt:   lpq  -Pcslp2









Output show jobs:   Rand    Owner    Job     Files    Total Size 

 1st  bgriff     4  cs.cpp  408 bytes
 




To remove job #4 enter:    lprm –Pcslp2 4




Printing From Windows

No special procedures required.  However, when the Windows "Print" dialog box appears check that cslp2 is the default printer.  If it is not enter "cslp2" in the "Printer Name" box.
Retrun to Computer Science Laboratory Page