Operating System - HP-UX
1833869 Members
1640 Online
110063 Solutions
New Discussion

Re: adding a HP printer...

 
SOLVED
Go to solution
James Ellis_1
Super Advisor

adding a HP printer...

I was just told to add a HP LasetJet 5si mx printer.

This printer is in another office, within our building. My office is now using the Xerox Phaser 5400 printer, and I had to download the Xerox drivers and install.

I realized this printer is the same printer as the another printer configured in the system. So far I was given a printer name and IP. I know I am supposed to use lpadmin to configure a printer, but how do I get the IP also configured? It does not look like doing a nslookup IP will bring up any information. Used to be I could type the lpadmin and a choice of options will come up, not now? Just like doing xpadmin will bring up some menu options.

Anyway, I would appreciate if someone can tell me the command options to get this printer installed. By the way, another printer is already set up using the exact same printer (and driver I would assume).

Thanks.
"In the middle of difficulty lies opportunity" -Einstein
9 REPLIES 9
Geoff Wild
Honored Contributor

Re: adding a HP printer...

Use /usr/bin/xpadmin to configure Xerox printers.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sanjay_6
Honored Contributor
RAC_1
Honored Contributor

Re: adding a HP printer...

Put an entry for printer_ip in /etc/hosts file

xx.xx.xx.xx printer1

You can use hppi/addqueue for it. (if you have jetdirect installed)

Anil
There is no substitute to HARDWORK
Bill Hassell
Honored Contributor

Re: adding a HP printer...

Network printers can be quite confusing...unless they are HP printers with HP LAN cards. You must have HP's JetDirect software installed (the name of the directory very much depends on what version of HP-UX you are running). This is the easy way to add an HP printer:

cd to the directory /opt/hpnpl/bin (or if you have the totally obsolete version: cd /opt/hpnp/bin

type this: ./addqueue -q hplj5si -h 12.34.56.78

And that's it. Your printer is called hplj5si (change the -q option above for a different name), and the IP address is the value for -h. lpadmin knows nothing about network printers. It is the standard serial/parallel and remote printer tool for SysV spooling. xpadmin has nothing to do with HP printers--it is a Xerox tool.


Bill Hassell, sysadmin
Geoff Wild
Honored Contributor

Re: adding a HP printer...

Xerox printers come with their own proprietary network cards - you can NOT use addqueue/lpadmin commands to add a networked Xerox printer to the spooler. The printer must already be configured with a hostname and ip address - else it won't work.

xpadmin is the only way - I know - we have some of them.

Rgds....Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
James Ellis_1
Super Advisor

Re: adding a HP printer...

It looks like I am confusing someone. We have both printers, Xerox and HP LaserJet.

I want to configure a LaserJet (HP5SI) to my HP-UX server. I believe I read to use the lpadmin.

However, when using lpadmin, all of the options do not come up like they used to? How do I configure a network printer HP5SI with the IP I have?

Thanks.
"In the middle of difficulty lies opportunity" -Einstein
Geoff Wild
Honored Contributor

Re: adding a HP printer...

Okay - use Bill's solution - that will work nicely.


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
James Ellis_1
Super Advisor

Re: adding a HP printer...

I used Sanjay's solution, this document did the trick. I suspect Bill's soultion would work also.

Thanks.
"In the middle of difficulty lies opportunity" -Einstein
John Donovan
Regular Advisor

Re: adding a HP printer...

Although this is old, for future reference, the methods described are the same. The only difference being Bill is using commands on the command prompt and Sanjay's reference is using the TUI which calls the same commands.

Happy printing...
--donovan
"I have not failed. I've just found 10,000 ways that won't work." - Thomas Edison