Operating System - HP-UX
1748036 Members
4793 Online
108757 Solutions
New Discussion юеВ

Re: /opt/hpnpl/bin/hpnpadmin delivers(Receive NO snmp response!)

 
SOLVED
Go to solution
Jerry_109
Super Advisor

/opt/hpnpl/bin/hpnpadmin delivers(Receive NO snmp response!)

HP-UX swprodno B.11.11 U 9000/800/rp7420
#############################

Hello HP,

I don't understand why the command hpbpadmin works in one printer , but not on another? Can someone assist ? They are both network printers.
#############################
root@swprodno[/root]
# /opt/hpnpl/bin/hpnpadmin -A nklj324
nklj324 is a network printer
root@swprodno[/root]
# /opt/hpnpl/bin/hpnpadmin -A hclj209
*** Receive NO snmp response!
*** (printer down, cable off, or wrong Get community name?)

#############################
5 REPLIES 5
Jeff_Traigle
Honored Contributor
Solution

Re: /opt/hpnpl/bin/hpnpadmin delivers(Receive NO snmp response!)

Could be a few different things... did you check what the error suggested? Depending on your network configuration, it's also possible there's a firewall blocking SNMP traffic from the hclj209. A bit difficult to say for sure based on the information provided so far.
--
Jeff Traigle
Jerry_109
Super Advisor

Re: /opt/hpnpl/bin/hpnpadmin delivers(Receive NO snmp response!)

root@swprodno[/root]
# egrep "hclj209|nklj324" /etc/hosts
#10.31.57.82 hclj209
10.36.31.233 nklj324
10.31.21.236 hclj209 splj009
root@swprodno[/root]
# lpstat -t | egrep -i "nklj324|hclj209"
device for hclj209: /dev/null
device for nklj324: /dev/null
nklj324 accepting requests since Dec 22 09:54
hclj209 accepting requests since Oct 15 12:41
printer nklj324 is idle. enabled since Dec 22 09:54
printer hclj209 is idle. enabled since Oct 15 16:57
Tim Nelson
Honored Contributor

Re: /opt/hpnpl/bin/hpnpadmin delivers(Receive NO snmp response!)

Unless you are managing the DHCP/IP addresses for your printers from HPUX then you need only use addqueue to create network based printer queues on hpux.

Jerry_109
Super Advisor

Re: /opt/hpnpl/bin/hpnpadmin delivers(Receive NO snmp response!)


How do you use man page ? or what's the command? Can I just execute the command now?
#############################

root@swprodno[/root]
# man addqueue
No manual entry for addqueue.
root@swprodno[/root]
#
root@swprodno[/root]
# whereis addqueue
addqueue: /opt/hpnpl/bin/addqueue /opt/hpnpl/man/man1/addqueue.1
Tim Nelson
Honored Contributor

Re: /opt/hpnpl/bin/hpnpadmin delivers(Receive NO snmp response!)

# /opt/hpnpl/bin/addqueue -?
usages: addqueue [-c class] [-d] [-i printerID]
-q queuename -h hostname [-p port] [-s]
[-r on/off] [-t on/off] [-b on/off] [-L PS/PCL/HPGL/HPGL2/AUTO]
[-P 1/2/3] [-T 1/2/3] [-m banner papersize] [-D on/off]
addqueue -l

e.g.(addqueue -l will list the modelIDs)
addqueue -i 1003 -qQueue_Name -h IP/Hostname ...


or you can add printers the good old fashioned way with lpadmin ;)