1829413 Members
1161 Online
109991 Solutions
New Discussion

printing not working

 
SOLVED
Go to solution
Steven Chen_1
Super Advisor

printing not working

Hi,

I would appreciate it very much if someone help diagnose why my network printing is sitting forever:

I have tried sam to create network printer without problems.

Ping the printer is ok.

But lp file not.

lpstat shows:
"Server # lpstat
prt_1-730 root priority 0 May 30 10:43 on prt_1 filename 934 bytes"

and no action. It is in queue, but queue has nowhere to go.

Please help.

Steve
Steve
13 REPLIES 13
Laurent Paumier
Trusted Contributor
Solution

Re: printing not working

What does lpstat -t give ?
Verify that you have the line "scheduler is running", and that the printer is not disabled. If the printer is disabled, reenable it using the command "enable prt_1". If it's already enabled, try restarting the scheduler (lpshut;lpsched).
Steven Chen_1
Super Advisor

Re: printing not working

I try all of them, resulting the same: no printing is going out.

lpstat -t:

"Server # lpstat -t
scheduler is running
system default destination: prt_1
device for prt_1: /dev/null
prt_1 accepting requests since May 30 10:39
printer prt_1 now printing prt_1-730. enabled since May 30 10:39 fence priority : 0
prt_1-730 root priority 0 May 30 11:23 on prt_1 filename 934 bytes"

Please help.
Steve
Tracey
Trusted Contributor

Re: printing not working

On occasion I have to "disable printer" and then "enable printer" to get it to wake up.
Rita C Workman
Honored Contributor

Re: printing not working

Have any of these suggestions helped yet?

If not yet...
What kind of printer is involved?
Have you tried using jetadmin to set up the network printer instead of SAM?

Just a thought,
Rita
Laurent Paumier
Trusted Contributor

Re: printing not working

What seems strange to me is the "printer prt_1 now printing prt_1-730" message. Do print requests disappear from the queue after some time or do they stay forever ? Is there anything in the file /var/spool/lp/log (restart lpsched with option -v for verbose logging) ?
boley janowski
Trusted Contributor

Re: printing not working

Steven,

Just a hint, I noticed that you have assigned points to 9 of 181 (double click on your name to check this out), and the last one you closed you only assigned points to one person, and nothing to all the rest (sorta unfare to all that try to help).

You can assign points to everyone that answeres or to those who dont offer anything to the subject (like this) you can assign N/A points this will help greatly with your stats and people will be more likely to assist you in the future.

Good Luck
Steven Chen_1
Super Advisor

Re: printing not working

I am trying to assign points for all who help, but sometimes there is no 'assign point' link there.

Sorry, but will do.
Steve
boley janowski
Trusted Contributor

Re: printing not working

Steven,

If you are having issues with the forum, you should notify one of the rep's on the forum. Here is a link to one from Laurent Pitoiset. Just make you comments they are really good about follow up and updating.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x3eacee3e323bd5118fef0090279cd0f9,00.html

Once you notify them you should do a search for all your old ticket and update all of them. You'll get far better responses in the future if you follow this up now.
MANOJ SRIVASTAVA
Honored Contributor

Re: printing not working

Hi Steven

Sometimes it happens that by removing the FIFO and the SCHEDLOCK files in the /usr/spool/lp directory and restarting the scheduler I have got the printer working . Try doing this :

1. lpshut
2. cd /usr/spool/lp
3. rm FIFO
4. rm SCHEDLOCK
5. lpsched

the second approach can be in in jetadmin go the printer status and if you have the xterm installed and properly configured you can get the graphics too. Here just delete the old queue and give another lp command. Either case the printer should print.


Manoj Srivastava
Steven Chen_1
Super Advisor

Re: printing not working

Something strange:

on the /var/adm/lp/log, messages indicate the printer is start every second. Yet print job is in queue. Lpstat shows it.

I use sam to re-create another printers with samee results.

It should be sth on /usr, but I have check some chmod seems to be all right.

Hope someone would be interested to dig deeper and help.

By the way, I have assigned all 10 points to no matter what.
Steve
Victor_5
Trusted Contributor

Re: printing not working

Hi Steven:

I met the similar problem before. My environment is Printronix Printer, D-Link network card, so I am wondering what's your printer model and your network card model? If you are using non-HP network card, try to set up the printer as "remote printer" instead of network printer.

Rita C Workman
Honored Contributor

Re: printing not working

Steven,

Did you get this fixed yet???

Is the IP of this printer in your /etc/hosts...can you resolve the printer by name & IP with the nslookup command???

Rita
Steven Chen_1
Super Advisor

Re: printing not working

Thank you all for the help!

It is final: problem was on /opt/hpnpd/ and its subdir that are missing w.

Steve