Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cancelling Multiple Print Requests on Sco 5.0.5 1

Status
Not open for further replies.

andycox

Technical User
Jun 28, 2002
16
0
0
GB
I have a server at one of our sites with over 1000 print requests.
Is there a command which will cancel all print requests to the particular printer in question?
 
I can't remember whether this is available in SCO, but try:

[tt]lprm -P printername -[/tt]

Annihilannic.
 
lprm command is not vaailable in SCO.
 
Here'a 1-line command which will save you LOTS of typing:
Assume the printer ID is "P0" (change this to match your configuration).

# cancel `lpstat -o P0|awk '{ print $1 '}`

Note the use of backtic/accent " ` " and single quotes " ' ".

"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top