1833315 Members
2816 Online
110051 Solutions
New Discussion

Cancel a print job

 
Jacqueline Nguyen
Occasional Advisor

Cancel a print job

While logging into the HP9000 K360 HP-UX 10.20 with my user name, the cancel command doesn't work to kill a print job from a jetdirect printer. I receive the following error while invoking the command from the Shell prompt:

cancel lptr1-1234
request "lptr1-1234" not cancelled:not owner.

Is there a way to force to cancel an unwanted print job which you are not the owner. I appreciate all your help. Thanks.
Jackie Nguyen
4 REPLIES 4
Michael Tully
Honored Contributor

Re: Cancel a print job

Hi Jackie,

There are two ways to do this. The first
is you cancel the print job as the 'root'
user. The second is that if you wish you
can set up a tool such as 'sudo' so that
you can deligate such tasks to a user
other than 'root' for example.

Here is the link for the 'sudo' executables
where you can download them.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.2b1/

HTH
-Michael
Anyone for a Mutiny ?
Sanjay_6
Honored Contributor

Re: Cancel a print job

Hi Jackie,

The only way you can cancel a print job if not owned by you, is by logging in as root. Sudo is a choice if you want to go in that direction.

Thanks
Thierry Poels_1
Honored Contributor

Re: Cancel a print job

Hi,

if you want "normal" ;) users to cancel printjobs you should specify this when your printer is created.
In SAM set option "Allow Anyone to Cancel a Request".

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Hell.Leader
Occasional Advisor

Re: Cancel a print job

su to "root" or login as "root" , to cancel your printing jobs.
HPcert