How to identify IP address of network printer(JetDirect printer) ? (37 Views)
Reply
Regular Advisor
Worapoj P.
Posts: 126
Registered: ‎11-16-1999
Message 1 of 11 (37 Views)
Accepted Solution

How to identify IP address of network printer(JetDirect printer) ?

Dear all expertise,

Anyone help me, right now on my system has one print type HP JetDirect. The problem
is how to find out its IP address? Because I have not created it.

Many thanks,
Worapoj P.
For LOVE For Honor For Mankind
Please use plain text.
Honored Contributor
Steven Sim Kok Leong
Posts: 2,376
Registered: ‎09-04-1997
Message 2 of 11 (37 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

Hi,

Its IP address is likely to be derived via DHCP from the DHCP/BOOTP server. You can try querying the DHCP database for its MAC address to find its corresponding IP address.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Email: steven@beepz.com. Homepage: https://www.beepz.com
Please use plain text.
Regular Advisor
Worapoj P.
Posts: 126
Registered: ‎11-16-1999
Message 3 of 11 (37 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

Hi Steven

I mean that I found this printer on system(HPUX 11.00) but I don't know ,where is location of this printer?
and don't know its IP address and which is DHCP server that gave it IP address. Is can trace back from
HP-UX or jetadmin configuration?

Thank you very much for answer.
Worapoj P.
For LOVE For Honor For Mankind
Please use plain text.
Honored Contributor
Steven Sim Kok Leong
Posts: 2,376
Registered: ‎09-04-1997
Message 4 of 11 (37 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

Hi,

I presume you meant that the printer can be found on your HP-UX 11.00 system when you perform an lpstat on it.

If you are able to perform an lpstat on it, then the printer server or IP address should be reflected in in the lpstat output.

Alternatively, run the command /usr/sam/lbin/lpmgr and check out its output.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Email: steven@beepz.com. Homepage: https://www.beepz.com
Please use plain text.
Regular Advisor
Worapoj P.
Posts: 126
Registered: ‎11-16-1999
Message 5 of 11 (37 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

Hi again,

for command "lpstat" and "lpmgr" could not display IP address information please see below,

----------------- lpstat -t --------------------------------
device for ps_test9: /dev/null
s_test9 accepting requests since Feb 20 18:11
printer ps_test9 is idle. enabled since Feb 20 18:11
fence priority : 0
--------------------------------------------------------------

---------------lpmgr -------------------------------------
ps_test9:network:yes, idle:yes:-:0: :
--------------------------------------------------------------

Thank you very much for help
Worapoj P.
For LOVE For Honor For Mankind
Please use plain text.
Trusted Contributor
Thomas Kollig
Posts: 60
Registered: ‎12-21-2000
Message 6 of 11 (37 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

Have you tried "nslookup ps_test9" already? ;-)

Thomas
Please use plain text.
Honored Contributor
Rita C Workman
Posts: 3,791
Registered: ‎08-03-2000
Message 7 of 11 (37 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

Well I feel like some more info would be helpful...but I'd start trying some of the following:

1. Can you ping ? If you can than you will see the IP address in the response.

2. Do you have JetAdmin on your 11.0 server. If you do than why don't you try those utilities:
Jetadmin/Administration Option #3/JetDirect Card Config Option #2/Information Option #4 .. will give you the info on that JetDirect card.
3....OR... From a PC with JetAdmin loaded (and most networks you can go over to wherever the Admin put this on the network ..usually on back drives W,X,Y or even Z) run the executable .. scan for that printer name .. pull up it's config (it will say your not authorized, just hit ok on it) and then go down the diagnostic tab/TCPIP/General info and the IP shows up there..

Just a couple thoughts to try,
/rcw
Please use plain text.
Honored Contributor
Andreas Voss
Posts: 1,364
Registered: ‎10-14-1997
Message 8 of 11 (37 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

Hi,

if the printer was setup with jetadmin you could do the following:

grep PERIPH /etc/lp/interface/ps_test9

This should show you the IP address of the printer.

Regards
Please use plain text.
Honored Contributor
Rick Garland
Posts: 4,470
Registered: ‎06-25-1997
Message 9 of 11 (37 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

If the grep of the PERIP in the interface yields the printer name, it is probably being resolved in DNS or the hosts file. In either case, you should be able to do nslookup on the name and receive the IP back.
Please use plain text.
Honored Contributor
paul courry
Posts: 1,412
Registered: ‎05-16-2000
Message 10 of 11 (37 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

I hate to suggest the obvious.................

Walk over to the printer (assuming it's an HP printer), press the MENU key until TEST MENU shows up, then select that. Now select CONFIGURATION PAGE.

Your complete printer configuration will print, including the IP address, subnet, server and whether DHCP is enabled or not.

Any questions? Please post the make and model of printer, we have one of everything over here and I'll post exact instructions for your brand and model.
Please use plain text.
Trusted Contributor
Manju Kampli
Posts: 224
Registered: ‎07-01-2000
Message 11 of 11 (36 Views)

Re: How to identify IP address of network printer(JetDirect printer) ?

Hi,

I do have similar situation at my sit. The printer are created with some name related to the site where it is installed and lpmgr command does not display the IP address.
When we add a printer thro jetadmin, it stores the IP address in /etc/lp/interface/$PRINTER_NAME file. check the parameter PERIPH in the file. U will find ur IP adress in this file.
One more thing, If the printer name is in /etc/hosts, NIS OR DNS ( any name resolution service), some times you may find the name in this file and do nslookup with that name and u should get IP addr

HTH
Manju
Never stop "LEARNING"
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation