Operating System - HP-UX
1836271 Members
2132 Online
110097 Solutions
New Discussion

Installation of Printer Problem

 
SOLVED
Go to solution
UVA
Regular Advisor

Installation of Printer Problem


Dear All,

Greetings of the Day!

I install a network printer HP LaserJet 2600n
in to my hp-ux 11iv3 system by following manner

1. smh->printers and plotters

2. Add Network-Based Printer/Plotter -> Add Printer/Plotter Connected to HP JetDirect

3. Spooler Administration (super-user only)

4. Add printer to local spooler

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

After this its throw following error

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

gurus can any one help me in this.

5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: Installation of Printer Problem

Can you ping or nslookup 172.20.30.31?
Steven E. Protter
Exalted Contributor

Re: Installation of Printer Problem

Shalom,

Set up an entry in /etc/hosts to resolve 172.20.30.31 to a hostname. Use the hostname.

Also, make sure the IP address is compatible with the IP address of the system.

lanscan

ifconfig lan0 # if lan0 is the primary

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
UVA
Regular Advisor

Re: Installation of Printer Problem

# nslookup
Default Name Server: qgtcin01.qgtc.com.qa
Address: 172.20.100.5

> 172.20.30.31
Name Server: qgtcin01.qgtc.com.qa
Address: 172.20.100.5

Trying DNS
Trying NIS
looking up FILES
Name: NPI85699D
Address: 172.20.30.31

my host ip is different but i can able to ping the printer using the ip and hostname of the printer then also it gives error, this is why i wondered

# ifconfig lan1
lan1: flags=1843
inet 172.20.101.14 netmask ffffff00 broadcast 172.20.101.255
Tim Nelson
Honored Contributor
Solution

Re: Installation of Printer Problem

use the addqueue command. Assuming you have Hewlett-Packard JetDirect Printer Installer for Unix installed.

addqueue -l ( to list available model defs)
addqueue -h IP/hostname -q printer1 -i #
Bill Hassell
Honored Contributor

Re: Installation of Printer Problem

Unfortunately, this printer will never work with HP-UX. It does not have a formatter and requires host-based formatting. In other words, you can't print the simple text "abc" on this printer. Instead, a special driver is required to convert text and images into dots for the page. There are only drivers for some versions of Windows and Macs. It has no capability to print ASCII, PCL or Postscript. Here is a link:

http://h10010.www1.hp.com/wwpc/us/en/sm/WF06b/18972-236251-236268-15077-f51-446153-446154-446155.html

It is important to choose printers for HP-UX that support PCL (aka, ASCII). Here is a list of printers that will work on HP-UX:

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


Bill Hassell, sysadmin