Cannot cancel a print


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Cannot cancel a print
# 1  
Old 02-25-2013
Cannot cancel a print

Hi Everyone,
I am trying to cancel a print. I am logged on as the user of the print and when I use the command 'cancel print_job' I get the message 'print_job: not authorized'

I have cancelled other prints in the queue, but this particular job in the queue cannot delete. I even logged on as root and it failed.

Thank you for your assistance.

Regards,
Scarlet
# 2  
Old 02-25-2013
The active (currently printed) Job cannot be removed.
Details are OS-specific. Please give output of
Code:
uname -a
...
lpstat -o
...
lpstat -v
...

# 3  
Old 02-25-2013
Hi,
The information requested is as follows:

Code:
uname -a 
SunOS banner-02 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5120

lpstat -o
fin_lj_1-919        prod            1778   Feb 25 12:39

lpstat-v
system for fin_lj_1: 10.2.0.20 (as lpd://10.2.0.20/printers/fin_lj_1#Solaris)

Regards,
Scarlet

Last edited by Scrutinizer; 02-25-2013 at 12:51 PM.. Reason: code tags
# 4  
Old 02-25-2013
You must examine the destination system 10.2.0.20
Try to resolve its name with
Code:
host 10.2.0.20
getent hosts 10.2.0.20

If this is your printer, you can power-cycle it to clear the job. (Otherwise it's a print server.)
# 5  
Old 02-25-2013
Hi,
I restarted the print server and I still get "fin_lj_1-919: not-authorized" error.

Thanks once again.

Regards,
Scarlet
# 6  
Old 02-27-2013
This can happen when the print server is used also by other environments in which case unless configured for even root cannot cancel a job since its not from his host... This occurs frequetly with Windows... You are left with the task of cancelling directly from the printer...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cancel down 2 integers

Wonderful evening to all of you! My problem has to possible starting points. Well, not really, but getting to either one is no problem at all. So i got either a string in the format of "1920x1080" or simply the integers X = 1920 and Y = 1080. When I am done, I would like to have an output... (5 Replies)
Discussion started by: jakunar
5 Replies

2. Shell Programming and Scripting

Cancel Printing Problem

Hi guys, Does any one know how to do script for cancel Print jobs. First it will ask for printer name or type and then show all print queus then remove jobs from the printer. Thanks (14 Replies)
Discussion started by: masco
14 Replies

3. HP-UX

i want to cancel printing job

hi every body i used " lpstat -o" to show the printer jobs and i already canceld it by "cancel -e -f jobid" but the problem i found when used " lpstat -o" again it said that job in progress i think because it in the buffer but i don't know how to clear the printer. (9 Replies)
Discussion started by: maxim42
9 Replies

4. Solaris

what privilege to assign for user to cancel or disable print queue?

OS Version: Sun Solaris version 9 Other than root, we need operation to manage printer queue by using following command: lprm -P cancel enable/disable What privilege should be given? Pls advise. Thank you. (4 Replies)
Discussion started by: KhawHL
4 Replies

5. UNIX for Dummies Questions & Answers

can't cancel nohup job

Yesterday I started a nohup job called assoc.sh. It has not finished running, but I have realised a problem with my script, so wish to cancel it, modify and restart it. However, I cannot find the PID, so can't cancel it. I have searched the ps list and nothing resembles my job - how can I cancel... (13 Replies)
Discussion started by: polly_falconer
13 Replies

6. Post Here to Contact Site Administrators and Moderators

Cancel Account

I accidentally typed a wrong user name... pls delete my account so that i can create a new one.. Thanks (4 Replies)
Discussion started by: Pat_Martin
4 Replies

7. Post Here to Contact Site Administrators and Moderators

cancel account

id like to cancel my account please. thanks (5 Replies)
Discussion started by: samb057
5 Replies

8. UNIX for Dummies Questions & Answers

Cancel QCompile

I need help, please!!!!!!!! I have accidentally selected to compile all my programs, which will probably take forever!! How can I cancel the compiling of the programs. I see in qstatus the huge list of programs waiting to be compiled. Thanks! :eek: (1 Reply)
Discussion started by: itldp
1 Replies

9. UNIX for Advanced & Expert Users

cancel the massage

Hi all In Aix system Someone know i want to cancel the massage. if some user print something and user root deleting the job i got brodcast message " message from queueing system job number XXX has been deleteing from queue. <EOT> " I use the cancel command (1 Reply)
Discussion started by: goldfelda
1 Replies

10. UNIX for Dummies Questions & Answers

How to cancel all printjobs at once?

Hi unix-friends, I've got an RS6000 with Unix 4.3 as OS. I'm writing a script that i want to use for cancelling all print jobs at once. Does anyone have any good idea's, hints, or tips? Hope to hear from you, Erik (3 Replies)
Discussion started by: Erik Rooijmans
3 Replies
Login or Register to Ask a Question