Operating System - HP-UX
1748032 Members
4653 Online
108757 Solutions
New Discussion юеВ

Re: How to "kill" all jobs

 
SOLVED
Go to solution
Yarok
Regular Advisor

How to "kill" all jobs

Hello,

I would like to "kill" all the jobs that are waitting in order to put back on work the lasser printer.

1. Where can I view the job list?
2. How can I delete them all/part?

BR,

Yaron
7 REPLIES 7

Re: How to "kill" all jobs


1. Where can I view the job list?

man lpstat

2. How can I delete them all/part?

man cancel

HTH

Duncan

I am an HPE Employee
Accept or Kudo
B. Hulst
Trusted Contributor

Re: How to "kill" all jobs

You could use

lprm
Matti_Kurkela
Honored Contributor

Re: How to "kill" all jobs

"lprm" does not exist in a default HP-UX installation.

In Unix-style operating systems, there are two main types of print spoolers.

HP-UX standard print spooler is SystemV type: it uses commands like lp, lpstat and cancel.

Some other Unixes use BSD-type print spooler: it uses commands like lpr, lpq and lprm.

Some modern print spooler softwares (like CUPS) offer both sets of commands to maximize compatibility.

MK
MK
Shibin_2
Honored Contributor
Solution

Re: How to "kill" all jobs

To list all jobs

lpstat

to delete all jobs

cancel -e
Regards
Shibin
щ╗ЮчЗГ
Valued Contributor

Re: How to "kill" all jobs

saludos,

man cancel

Also you can use SAM. (Printers & plotters)

todo lo mejor
Man's mind, once stretched by a new idea, never regains its original dimensions
Yarok
Regular Advisor

Re: How to "kill" all jobs

Thanks for the information!

Cancel -e (printer_name) makes the work.
Yarok
Regular Advisor

Re: How to "kill" all jobs

Thanks for the information!

Cancel -e (printer_name) makes the work.