Operating System - HP-UX
1748201 Members
3849 Online
108759 Solutions
New Discussion юеВ

Canceling/clearing print jobs

 
lbdwag
Frequent Advisor

Canceling/clearing print jobs

I need to clear all of the jobs that are going to a specific lp## in HP-UX 11.31. Doing it through SMH is extremely painful and slow. What is the best way to remove them from the CLI?
-- Don
4 REPLIES 4
Jaime Bolanos Rojas.
Honored Contributor

Re: Canceling/clearing print jobs

LBDWAG,

This might help you in your task:

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1232724640326+28353475&threadId=571426

Regards,

Jaime.
Work hard when the need comes out.
lbdwag
Frequent Advisor

Re: Canceling/clearing print jobs

thanks, I'll take a look at it and see if I can understand how to use it.
-- Don
Dinesh kumar_5
New Member

Re: Canceling/clearing print jobs

HI LBDWAG

you can use the following command to acheive this

1. # cancel -a => this will cancel all the print request for that particular printer

2. # disable => this will disable the printer

3. # lpmove => this will move all print request to other printer

you can also refer manpage for all above commands for more options.

Hope these above command will usefull to you

skt_skt
Honored Contributor

Re: Canceling/clearing print jobs


I would split as
"clear all of the jobs" and "reject any more jobs" to a spefic queue

#cancel -e qname
#disable qname
#reject qname