Operating System - HP-UX
1833910 Members
21434 Online
110063 Solutions
New Discussion

print job in queue but non-existant?

 
SOLVED
Go to solution
uk1
Frequent Advisor

print job in queue but non-existant?

I have a print job that lpstat reports but I am unable to cancel it.

# lpstat
LP-9105 root priority 0 Oct 21 11:00
file.out 117966 bytes

# cancel LP-9105
cancel: request "LP-9105" non-existent

Tried some basic steps like rebooting the server, lpshut, turning off spooler, trying to cancel the job through sam, cycling the printer. Seems to be a ghost job!
2 REPLIES 2
Geoff Wild
Honored Contributor
Solution

Re: print job in queue but non-existant?

Do a lpstat -o

then, go to the directory of the spool file:

cd /var/spool/lp/request/

lpshut
rm *
lpsched -v

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
uk1
Frequent Advisor

Re: print job in queue but non-existant?

You make it seem like 2nd nature, thanks guys =)