1834450 Members
1933 Online
110067 Solutions
New Discussion

HP 9000 Print Queue

 
Steven Blevins
New Member

HP 9000 Print Queue

I recently inherited an HP 9000 as part of a remote network under my administration and I don't know a great deal about it. I recently changed the ip addressing of my network. None of the printers will print. I have modified the hosts file to represent the new IP's of the printers. I have been told that I may need to restart the print queue for the printers. Does this sound right and how do I do that? Thanks very much for your help.
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: HP 9000 Print Queue

There are a couple of things you could try:

1) disable printer_name
enable printer_name

Do this for each printer, if you don't have very many. Try one first and see if it works.

2) lpshut --> to stop the lp scheduler
lpsched --> to restart the lp scheduler

or

/sbin/init.d/lp stop
/sbin/init.d/lp start

will do the same exact thing.

Can you ping the printers by name and IP address. Did you change the IP address on the printers themselves?
Printaporn_1
Esteemed Contributor

Re: HP 9000 Print Queue

lpshut
ps -ef | grep lpsched

kill all remaining lpsched

lpsched -v

check with ps to make sure that lpsched can run
enjoy any little thing in my life
MANOJ SRIVASTAVA
Honored Contributor

Re: HP 9000 Print Queue

Hi Steven

Incase you are sure that the printers installed are fine interms of IP connectivity and have the valid IP ADD in the /etc/hosts then follow the following :

1. lpshut ---> to stop the scheduler.
2. cd /usr/spool/lp
3. rm FIFO , rm SCHEDLOCK
4. enable < printer name >
5 accept < printer name >
6. lpsched ---- > to restart the scheduler.

This will set the printer right , incase it was installed and was working , in case it is not done please remove the printers and reinstall them.

Manoj Srivastava
Darrell Allen
Honored Contributor

Re: HP 9000 Print Queue

Hi,

I'd look at Patrick's last issue first. Can you ping the printers from the HP? If not you should verify routing on the HP as well as the default gateway on each printer.
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Jordan Bean
Honored Contributor

Re: HP 9000 Print Queue

What interface is used? JetAdmin or LPD? What does `lpstat -v` report? If the printers where setup by IP (eg lpadmin -pprinter -ormIP -orpTEXT ...) then it will be a little work correct them.
Steven Blevins
New Member

Re: HP 9000 Print Queue

OK... I have 4 printers and now I have 2 of them printing. I can ping all the printers by name and address. lpstat -v says /dev/null for all. lpstat -t says that the 2 dead printers are printing a job but nothing is actually printing....the jobs just sit there. All the ip addresses were set using JetAdmin. All printers are enabled and accepting requests. Thanks for your help so far.
Bill Hassell
Honored Contributor

Re: HP 9000 Print Queue

Depending on how JetAdmin was used, the IP address for the printer (rather than the hostname) may have been used and thus, the scripts are ignoring /etc/hosts or DNS. First, disable the printer(s) that are not working.

Go to the /etc/lp/interface and look at the script named the same as the failing printers. vi the file and search for PERIPH= and change it to match the network name of the printer. Save the file and enable printer(s). They should start working. You can also troubleshoot JetDirect printers with the JetAdmin program.


Bill Hassell, sysadmin
Jordan Bean
Honored Contributor

Re: HP 9000 Print Queue

These are not basic LPD (rlp) spoolers... This is where I stop. Sorry.
Steven Blevins
New Member

Re: HP 9000 Print Queue

We got em'....The setup files for the printers indeed had the IP's in them instead of the printer name. We have all 4 working now. Thanks to all for your help...