To print a document type the following command in the xterm window...
lpr printer_name file name
Notes:
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 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.