1819706 Members
3174 Online
109605 Solutions
New Discussion юеВ

Re: enable print queue.

 
Jagadesh_2
Regular Advisor

enable print queue.

I fired a print job using
#lp -dqueuename -p0 testprint
the job is still pending and i cannot able to print that file. I tried removing all print jobs and fired a new print job. The same is also in now printing state..

lpstat -t says (accepting requests)
lpstat -t |grep queuename
device for xxxx: /dev/null
xxxx accepting requests since Sep 1 12:06
printer xxxx now printing shlfinance_1-409. enabled since Feb 2 11:59

How can i able to resolve this. I have lot of print queues created for this server. I cannot restart the scheduler which will affect the print jobs in other queues.

Thanks
Jagadesh
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor

Re: enable print queue.

I assume that this is a network printer. In that case, do a ps -ef | grep hpnpf and look for occernces related to this printer and kill them.
If it ain't broke, I can fix that.
Jagadesh_2
Regular Advisor

Re: enable print queue.

yes. It is a network printer

/opt/hpnpl/bin/hpnpf -j shlfinan
ce_1-409+root -w -a1 -x shlfina
this process is running
Eric Antunes
Honored Contributor

Re: enable print queue.

You can use JetAdmin, JetDirect Installer and even SAM (SAM will use one of the previous utilities) to check printer statuses following the respective menus.

Start with the simple diagnosis:

#ping

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Jagadesh_2
Regular Advisor

Re: enable print queue.

I can able to ping the server.
Jagadesh_2
Regular Advisor

Re: enable print queue.

Is there any way to restart the particular queue alone.. this should not affect the jobs in other queue.

Eric Antunes
Honored Contributor

Re: enable print queue.

Hi,

I don't know anyway of doing this. I always restart the printer spooler when I've problems and it use to work.

But, as I said, "JetDirect Printer Installer for UNIX" seems to be a complete tool you may want to explore...

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
A. Clay Stephenson
Acclaimed Contributor

Re: enable print queue.

There is no way to start this queue alone but if you kill the hpnpf process associated with this printer, the problem may cure itself. The printjob that this printer is currently trying to process could be corrupt. Try killing the hpnpf and power-cycling the printer.
If it ain't broke, I can fix that.