Operating System - HP-UX
1821808 Members
3399 Online
109638 Solutions
New Discussion юеВ

Re: Add HP CLJ 2840 to HP-UX

 
SOLVED
Go to solution
Thierry Doppler
Frequent Advisor

Add HP CLJ 2840 to HP-UX

Hi everyone,

I have to add a HP Color LaserJet 2840 to HP-UX 11.23, but hppi does'nt recognize it as a printer. Ping of hostname and IP-Adr. are OK. The printer is set to SNMP 1.0 with default community name.
The message is "!! fr01 is NOT an acceptable name!! Either it is NOT a network printer or this host is denied access to it!"
ans no possibility to bypass them.

Thank you for your help !

Thierry


-------

****************************************************************
*****] ****
**** ] **** JetDirect Printer Installer for UNIX
**** ]]]]] ]]]]] **** Version E.10.34
**** ] ] ] ] ****
**** ] ] ]]]]] **** Spooler Administration
***** ] ****
****** ] **** User: (root) OS: (HP-UX B.11.23)
I N V E N T
****************************************************************

Spooler:
1) Add printer to local spooler
2) Delete printer from local spooler
3) Modify existing spooler queue(s)
4) Install New Model Script
5) Remove Model Script

?) Help q) Quit

Please enter selection: 1

Enter the network printer name or IP address (q - quit): fr01

!! fr01 is NOT an acceptable name!!
Either it is NOT a network printer or this host is denied access
to it!1

Enter the network printer name or IP address (q - quit):
-------------
12 REPLIES 12
Mel Burslan
Honored Contributor

Re: Add HP CLJ 2840 to HP-UX

HPPI tool is not a fool proof one. Did you try to use the printer's IP address instead of the name ? There might be a whole slew of reasons around name resolution among other things. If the IP address doesn't work either, then you might have a networking problem, if you are 100% sure about the printer's JetDirect interface functioning properly.
________________________________
UNIX because I majored in cryptology...
Thierry Doppler
Frequent Advisor

Re: Add HP CLJ 2840 to HP-UX

Hi,

Yes, I tried with the IP-Adress and with the hostname defined in /etc/hosts. The Jetdirect and the printer is working properly with Windows-Printserver and the web interface is working fine. SNMP ist active, with standard values (v1 read/write) ans standard community name.

Thierry
Thierry Doppler
Frequent Advisor

Re: Add HP CLJ 2840 to HP-UX

Another info :
I have the same problem with 3 differents HP LJ2840 !
Thierry
Pete Randall
Outstanding Contributor

Re: Add HP CLJ 2840 to HP-UX

Have you tried manually adding it with addqueue?

/opt/hpnpl/bin/addqueue -h $IP -q $PRNTR -b off

$IP is, obviously, the IP address and $PRNTR is the name of the queue. You can also use -i to select a model script. You can use "hppi > spooler administration > remove model script" to scroll through those available.


Pete

Pete
Thierry Doppler
Frequent Advisor

Re: Add HP CLJ 2840 to HP-UX

Hi Pete,
Thanks you very much for your Answer; i tried :

//#>/opt/hpnpl/bin/addqueue -h 172.16.4.253 -q test253 -b off
Could not contact 172.16.4.253
//#>ping test253
PING test253: 64 byte packets
64 bytes from 172.16.4.253: icmp_seq=0. time=0. ms
64 bytes from 172.16.4.253: icmp_seq=1. time=0. ms

With HPPI, i don't have any problem with model script, i only use 2 models; but i'm not comming so far to choice a model script ...

Thanks for new ideas,
Thierry
Mel Burslan
Honored Contributor

Re: Add HP CLJ 2840 to HP-UX

Pinging the device does not necessarily guarantee the TCP network communication. If there is any kind of router or firewall in between your server's network and the printer's network, you need to make sure the ports JetDirect uses (Port 9100 at the least I believe) needs to be open for TCP traffic.
________________________________
UNIX because I majored in cryptology...
Thierry Doppler
Frequent Advisor

Re: Add HP CLJ 2840 to HP-UX

Hi,

The Printer is on the LAN. We have 50 other HP Printer (other models), there are all working fin on the LAN. Just the 2840 are making problems with HP-UX.

Thanks for your help.
Shibin_2
Honored Contributor

Re: Add HP CLJ 2840 to HP-UX

Instead of specifying name there, why can't you provide IP address ?
Regards
Shibin
Thierry Doppler
Frequent Advisor

Re: Add HP CLJ 2840 to HP-UX

Yes, I tried with both hostname and IP-Adress.
Same Massage.
Bill Hassell
Honored Contributor
Solution

Re: Add HP CLJ 2840 to HP-UX

Did you download the 2840 model script? If not, go here first:

http://www.hp.com/pond/modelscripts/index2.html

Download it, store it in /tmp and then install it by uncompressing it, then unsharing with sh:

sh net_clj2840.sh.Z
sh net_clj2840.sh

Then add the printer like this:

addqueue -h 172.16.4.253 -q test253 -b off -r off -t off

hppi tries to probe the printer in an archaic manner that has needed fixing for several years. A workaround is to try disabling SNMP in the printer, but using addqueue is the preferred method for modern HP printers.


Bill Hassell, sysadmin
Thierry Doppler
Frequent Advisor

Re: Add HP CLJ 2840 to HP-UX

Hi Bill,

Thanks you for your help !

I installed the new model script successfull, it appear now in hppi as model script.
But neither "add queue" nor "hppi" are successfull to configure it.
-----------
#>addqueue -h 172.16.4.253 -q test253 -b off -r off -t off
Could not contact 172.16.4.253
-----------
hppi:
Enter the network printer name or IP address (q - quit): 172.16.4.253

!! 172.16.4.253 is NOT an acceptable name!!
Either it is NOT a network printer or this host is denied access
to it!

Enter the network printer name or IP address (q - quit):
-----------

Then I tried to disable SNMP, and I received another error message :
-----------
Enter the network printer name or IP address (q - quit): fr01

!! No response from fr01 !!
... (trying to ping fr01)

The HP JetDirect Printer Installer for Unix can ping the device.
The problem may be:
* incorrect GET community name!
* it is not a network printer!
* other.

Do you want to continue (y/n/q, default - n)?
-----------
... then i can continue and install the printer manually, but only witj hppi ! addqueue anwers always "Could not contact 172.16.4.253"

OK, the problem is solved !
Thank you very much!
Thierry
Thierry Doppler
Frequent Advisor

Re: Add HP CLJ 2840 to HP-UX

The solution was to disable SNMP.