HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting up a printer on a hp server
Operating System - HP-UX
1832871
Members
3568
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 08:38 AM
07-05-2006 08:38 AM
I have the jetadmin software installing on the printer and I can ping the printer but when I try to set the printer up via SAM it complaining that it not able to communicated to the printer. So I want to install it from the command line. Do soemone have a cook book on adding the printer. The printer name is ana0005 an d a laser jet 4050
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 10:50 AM
07-05-2006 10:50 AM
Solution
Adding a printer that is not connected with a parallel or serial cable is confusing because there are 3 very different ways to connect a printer on a LAN. The first is a printer that is run by a server such as Windows or Linux or some other system. SAM calls this a "Remote Printer" and you must use this choice to add it. The second is a printer connected to the LAN with a non-HP NIC. These are also "Remote Printers" and added in SAM the same way. They are more complicated because you need an internal printer name which is often missing in the NIC card's documentation.
The third choice is an HP NIC card which is known as a JetDirect card. This is called a "Network Printer" and SAM will call a program called hppi (or jetadmin if you have obsolete software). You install JetDirect printers using the addqueue command, but first check that the printer is working using the hpnpadmin command:
cd /opt/hpnpl/bin
./hpnpadmin -v 12.34.56.78
If you do not have /opt/hpnpl/bin, see if /opt/hpnp/bin exists. If it does, you can cd to that directory as the command exists in that obsolete software directory.
Now pay attention to the first lines of hpnpadmin -- it will state that the printer is an HP JetDirect network printer or that it is not. If not, then the NIC must be a non-HP card or non-functional. Once the printer responds to the hpnpadmin command, you can add it with the addqueue command:
./addqueue -h 12.34.56.78 -q ana0005
The 2 commands are essentially what SAM uses to add the printer.
Bill Hassell, sysadmin
The third choice is an HP NIC card which is known as a JetDirect card. This is called a "Network Printer" and SAM will call a program called hppi (or jetadmin if you have obsolete software). You install JetDirect printers using the addqueue command, but first check that the printer is working using the hpnpadmin command:
cd /opt/hpnpl/bin
./hpnpadmin -v 12.34.56.78
If you do not have /opt/hpnpl/bin, see if /opt/hpnp/bin exists. If it does, you can cd to that directory as the command exists in that obsolete software directory.
Now pay attention to the first lines of hpnpadmin -- it will state that the printer is an HP JetDirect network printer or that it is not. If not, then the NIC must be a non-HP card or non-functional. Once the printer responds to the hpnpadmin command, you can add it with the addqueue command:
./addqueue -h 12.34.56.78 -q ana0005
The 2 commands are essentially what SAM uses to add the printer.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 04:14 PM
07-05-2006 04:14 PM
Re: Setting up a printer on a hp server
Ray,
You can use addqueue or lpadmin to add the printer :
To use addqueu:
----------------
Syn: addqueue -i printerid -h hostname -q queuename
printer id can be found from # addqueue -l command
example:
# addqueue -i 257 -h BU10-jet-laser -q BU10
BU10-jet-laser should carry the ip in /etc/hosts or can be resolve by dns.
-----------------
Cheers,
Raj.
You can use addqueue or lpadmin to add the printer :
To use addqueu:
----------------
Syn: addqueue -i printerid -h hostname -q queuename
printer id can be found from # addqueue -l command
example:
# addqueue -i 257 -h BU10-jet-laser -q BU10
BU10-jet-laser should carry the ip in /etc/hosts or can be resolve by dns.
-----------------
Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 11:58 PM
07-05-2006 11:58 PM
Re: Setting up a printer on a hp server
I will do the solution you gave me...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP