Operating System - HP-UX
1831462 Members
3176 Online
110025 Solutions
New Discussion

configuring network printer

 
Satya Swaroop
Occasional Advisor

configuring network printer

Hi, I'm trying to add network printer in hp-ux v2 using JetDirect software. But getting the error. ( print server is windows ).

=============================================
# hppi

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

1) Spooler Administration (super-user only)


2) JetDirect Configuration (super-user only)
- TCP/IP configurable parameters

3) Diagnostics:
- diagnose printing problems


?) Help q) Quit

Please enter a selection (q - quit): 1

****************************************************************
*****] ****
**** ] **** 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): 172.16.13.12

!! 172.21.13.5 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):
===========================================

thanks in advance.
7 REPLIES 7
Wouter Jagers
Honored Contributor

Re: configuring network printer

Hi,

---
Enter the network printer name or IP address (q - quit): 172.16.13.12
!! 172.21.13.5 is NOT an acceptable name!!
---

That's strange.. it's another IP address ?!

Which printer are you trying to add ? And also, what's its hostname and IP address ?

Cheers
an engineer's aim in a discussion is not to persuade, but to clarify.
John Waller
Esteemed Contributor

Re: configuring network printer

Hi

Can you clarify what the network connection of the printer is. The HP JetDirect software is only for the HP range of standalone print servers. If the printer is connected to a Windows Server you need to add it as a remote printer not a network printer.
Satya Swaroop
Occasional Advisor

Re: configuring network printer

The printer is connected to a windows server ( remote printer ). We have any document to add the remote printer ?
Printer model is "hp LaserJet 9050".


=====================================
# ./hpnpadmin 172.16.13.12

Printer State : ready to print

# ./hpnpadmin -i 172.16.13.12

Printer Description:
--------------------
MFG :Hewlett-Packard;
CMD :PJL,MLC,BIDI-ECP,PCLXL,PCL,PDF,PJL,XHTML,MIME,POSTSCRIPT;
1284.4DL :4d,4e,1;
MDL :hp LaserJet 9050;
CLS :PRINTER;
DES :Hewlett-Packard LaserJet 9050;

Printer ID : 387
#

=====================================
Pete Randall
Outstanding Contributor

Re: configuring network printer

So this printer is not directly connected to the network with a JetDirect card? It is connected via a Windows print server?

Then you need to add it using the lp spooler command lpadmin (or use SAM).


Pete

Pete
John Waller
Esteemed Contributor

Re: configuring network printer

Hi Looking at the output from your hpnpadmin command it does appear to be a proper HP jetdirect printer so jetadmin should work. Did you use the / cursor keys or erease key when you entered the IP address to correct a mis-type. That would explain the difference in IP addresses. I would give this another attempt. Also it may be an idea to add an entry in the /etc/hosts file and reference the printer by name so if you need to change the jetdirect for another or change the IP address you only need to change the host file and not delete and re-add the printer.
Marco A.
Esteemed Contributor

Re: configuring network printer

Before install the printer .. try to ping it from your server.

#ping 172.16.13.12

That's to discard that is a network issue, also try a nslookup on the printer to see if the system is able to resolve its name.

Also, try to telnet the printer.

If any problem occurs at those steps, then check your /etc/hosts file, the printer must be included right there.

Also, try the right model script for your printer.

Hope this helps,

MArc0
Just unplug and plug in again ....
Satya Swaroop
Occasional Advisor

Re: configuring network printer

Installed it as network printer using hppi. And its working fine now.

thanks.