Operating System - HP-UX
1827115 Members
3331 Online
109714 Solutions
New Discussion

Re: IP printers added to spooler.

 
SOLVED
Go to solution
Robert Anderson
Advisor

IP printers added to spooler.

I have taken over an 11.00 HPUX box and need to find out the ip addresses of the printers in the lp spooler. Anyone have any ideas how I can get this information?
Don't think meat! It can only hurt the team!
4 REPLIES 4
Geoff Wild
Honored Contributor

Re: IP printers added to spooler.

With DNS?

for i in `ls /etc/lp/interface`
do
nslookup $i
done

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.
Sundar_7
Honored Contributor
Solution

Re: IP printers added to spooler.

# grep "^PERIPH=" /etc/lp/interface/*

I believe the printer queue name need not be a valid DNS name.
Learn What to do ,How to do and more importantly When to do ?
Robert Anderson
Advisor

Re: IP printers added to spooler.

No DNS....
Thanks for the suggestion though.
Don't think meat! It can only hurt the team!
Robert Anderson
Advisor

Re: IP printers added to spooler.

Thank you Sundar! That was the one! Thank you very much!
Don't think meat! It can only hurt the team!