Details
For the purpose of example, I will pretend that the report owner's username
is anfml (First Middle Last) and that the printer's Offical Name
is adeptprt (a departmental printer).
The commands shown below, following the shell prompt in italics, are as would
be entered from the UNIX Korn Shell. They will also work from within the UA Menu
program at the "Select an option ==> " prompt, PROVIDED you have "Command Mode:
ON" (see "Configuration Submenu" at the MAIN MENU level).
Assuming that you wish to remove a print job from printer queue
adeptprt, you would issue the following command to get a list of
currently queued requests:
anfml@glacier> lpq -P adeptprtn glacier.alaska.edu:
Sun Jul 26 12:31:41 1998: waiting for adeptprt.netprn.alaska.edu to come up
|
| Rank |
Pri |
Owner |
Job |
Files |
Total Size |
| 1st |
0 |
anfml |
69 |
(standard input) |
643 bytes |
| 2nd |
0 |
anfml |
70 |
(standard input) |
832 bytes |
| 3rd |
0 |
anxyz |
71 |
(standard input) |
832 bytes |
| connection to adeptprt.netprn.alaska.edu is down |
There are three print jobs queued. Two of them are owned by userid anfml
and one by anxyz. You need to know three items before you can
remove a print job:
- which UNIX printer queue is the print job in;
- what's the print job number;
- who is the print job owner.
Assuming that the printer was put OFFLINE to avoid contining printing of a
bad report, the job ranked as 1st (job number 69) is probably the one that is/was
currently printing. Only user anfml can use the "lprm" command to remove the
output for job 69. The exeception to this rule is that the Statewide Help Desk
staff can also remove ANYONE'S output. If you are user anxyz and
you need to remove or cancel the output that anfml generated,
then you must have anfml do it, or call the SW Help Desk (1-800-478-8226 or
450-8300).
Assuming that you are anfml, to remove the output, issue the
"lprm" command specifying the U.P.Q name and job number. For example:
anfml@glacier> lprm -P adeptprtn 69
dfA069glacier.alaska.edu dequeued
cfA069glacier.alaska.edu dequeued
|
Updated 01-21-2004 |