How to Print a Document in this Lab
 
 
 The Print command...

To print a document type the following command in the xterm window...

                        lpr  printer_name  file name
Notes:

        - If you are in the big lab in RLM 8.136 use  "-Pbiglab" for the "printer_name".
        - If you are in the small lab in RLM     use "-Plw8b" for the "printer_name".
 
            ** Make sure to include the "-"  before the name of the printer.         -Include file extensions when writing the file name.
           ex.  If a file is called "foo.ps" include the ps extenuation in the filename.
        -Make sure the file is in the appropriate directory.
        -If a file is not in the current directory, make sure to include a path.
            ex. If "foo.ps" is in a directory called "math", include "math" in the path.
                    So,
                        "lpr -Pbiglab /math/foo.ps"
            would print the file foo.ps located in the math directory to the printer in RLM 8.136.
 

To Print in Landscape Mode 

 If you want the printer to display only one page of material per side use the following command:

                             enscript -B "printer_name" "file name"
 Information on  "printer_names"  and  "file names"  provided above.
 

To Check on a Print Job

After you have sent a job for printing you can check the status of the job using the following command

                    lpq "printer_name"

If there are jobs in the queue, a list of user names, job numbers, and status reports will be displayed.  If there are no print jobs, there will be a message informing the user that there are no printable jobs in the queue.

 
To remove a Job from the Print Queue

To remove a job that you have sent to the printer,

1.  Use the command lpq "printer_name" to find where your job(s) is in the queue.

2.  After you have located your print job, make note of the print job_number.

3.  Use the command lprm "printer_name" "job_number".

You can remove more that one job at a time by leaving spaces in between job_numbers.

Example:  To remove jobs numbered 22, 33 and 42 from the printer in the big lab, use
                       lprm -Pbiglab 22 33 42

Note:  You can only remove print jobs that you have sent to the printer.  You cannot remove another users print job.
 
 
 



 back to the main page