Operating System - HP-UX
1834855 Members
2579 Online
110070 Solutions
New Discussion

Printer Queue is not flushed

 
AkashGulati
New Member

Printer Queue is not flushed

Hi All,

I am new to HP-UX and new to administration world. I have a problem with two HP Laser Jet M5035MFP printers which are connected to HP-UX host machines. Problem is that whenver we print a job, the job gets printed very fine but the queue is not cleared. This makes the further jobs on the same printers to stop working. We have to then manually clear the queues.

I have already tried re-installing the printers on this host but the situation is same. Help needed !!
7 REPLIES 7
Jeeshan
Honored Contributor

Re: Printer Queue is not flushed

Hi Akash

The following command will clear the queue.


#cancel -e

if you still see the print queue then do the anyone from the followings

1. stop and start the scheduler
Confirm that the SCHEDLOCK file get removed from /varspool/lp after executing the command
#lpshut
and Then start the scheduler
#lpsched

or

2. Got to the path where spool requests are present i.e

cd /var/spool/lp/request/JP02

rm *.*

This will clear your print queue.





If this helps please do assign points.:-)
a warrior never quits
AkashGulati
New Member

Re: Printer Queue is not flushed

Hi Ahsan,

Thanks for the reply. But my problem is not actually clearing the queue manually but the real problem is that why the queue is not getting clear automatically after the job is printed.

We are clearing the queue manually from last few weeks. Let me know if you have other thoughts. :-)
Mridul Shrivastava
Honored Contributor

Re: Printer Queue is not flushed

Are you printing jobs locally or this is configured as a remote printer for some other hosts as well ???

Was this setup working fine any time? or it is a new setup ??

Have you tried recreating the queue ??
Time has a wonderful way of weeding out the trivial
AkashGulati
New Member

Re: Printer Queue is not flushed

This is a network printer and it was working fine since its installation. This problem is since last 1 month and there was no such upgrade of firmware etc also.

I have not tried to re-create the queue. Can you tell me where can I find the process of the same or if you can guide me?

Thanks a ton
Jeeshan
Honored Contributor

Re: Printer Queue is not flushed

Did you try to stop and restart the spooler. you can do it through SAM.
a warrior never quits
Mridul Shrivastava
Honored Contributor

Re: Printer Queue is not flushed

Have a look at the following thread:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=482749

You said that you have re-installed the driver, Did you uninstall the previous one before re-installing the same? Sometimes it does make difference, logically both are same only.
Time has a wonderful way of weeding out the trivial
AkashGulati
New Member

Re: Printer Queue is not flushed

I did tried to stop and restart the spooler.

Also we didn't re-installed the driver anytime. I am sorry if it seems like in my previous post. What I tried was to remove the printer from sam and then add it again on the same host machine.