- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Network Printer issue on HP-UX 11i v1
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
02-03-2005 04:30 PM
02-03-2005 04:30 PM
Network Printer issue on HP-UX 11i v1
I have installed around 170 network/windows based printers on new HP-UX 11iv1 server. These printers was working on HP-UX 11.00 and on that server we were using JetAdmin Utilities for UNIX (Version D.06.21 -/opt/hpnp) and on new servers we are using HP JetDirect Printer Installer for UNIX (Version E.10.18 /opt/hpnpl).
I had used SAM [save/restore] options to import all the printers on new servers.
Right now none of the printers is working in new HP-UX 11i.
Please advice.
Thanks,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2005 03:04 AM
02-05-2005 03:04 AM
Re: Network Printer issue on HP-UX 11i v1
Some tip/hints that might help you.
How SAM handle it:
It saves the configuration from /etc/lp to /var/sam/lp by using lpmgr:
/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp
Then it could be restored like this:
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp
I have been distributing printers, simply by doing an "rcp -pr prhost:/var/sam/lp newhost:/var/sam/", then using lpmgr to restore them on newhost.
-----------
On newhost you must have the print-software installed (it's not installed by default).
Example:
[root]: swlist | grep -i -e print -e jet -e hpnp
J2559C D.06.15 Hewlett-Packard JetAdmin for Unix Utility
J4189-11001B E.10.18 Hewlett-Packard JetDirect Printer Installer for Unix
Check also that your model files are available.
Standard checks like "rights" etc. are important if you have copied definitions manually and not with SAM/lpmgr.
--------
If you have a printer named: MYLP
Try vi /etc/lp/interface/MYLP
Check the HPNP variable, this would tell you where it expect to find the software installed.
Check also the destination, variable PERIPH
This points to the hostname/ip of the printer.
Make sure that this is resolved correctly and that you can reach it.
----------
On HP-UX 11.23 (ia64) the /opt/hpnp have changed to /opt/hpnpl
The jetadmin command have changed to: hppi
When I restored print config from HP-UX 11.11 to 11.23 I got the same problem as you.
I have done the following on our machines to make it transparent between them:
1) linked /opt/hpnpl to /opt/hpnp
2) created alias jetadmin=/usr/bin/hppi
Best regards,
Tor-Arne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2005 08:47 AM
02-05-2005 08:47 AM
Re: Network Printer issue on HP-UX 11i v1
I had solved this issue by copying /opt/hpnp from old server [11.000] to our new server. Now I have to directory /opt/hpnp & /opt/hpnpl.
This is going to create any issue in future ?
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2005 08:52 AM
02-05-2005 08:52 AM
Re: Network Printer issue on HP-UX 11i v1
I've copied /opt/hpnp (as you said) to 11i (11.11) systems with no issues.
Mic
(By the way, you could give Tor-Arne some points for the help -- that was a long reply. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2005 03:39 PM
02-05-2005 03:39 PM
Re: Network Printer issue on HP-UX 11i v1
The correct solution is to make a list of all your network printers by queue name (lpstat -v) and the corresponding IP address for each printer. Then remove the /opt/hpnp software, delete all the printers using removequeue (/opt/hpnpl/bin/removequeue), then add them all back using addqueue (same location as removequeue). The addqueue command is really easy:
/opt/hpnpl/bin/addqueue -h 12.34.56.78 -q myprnqueue
Repeat as needed. Now you'll have a supportable configuration and hppi (not jetadmin) will know about LaserJet 4000 and 8000 series printers (as well as many others)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2005 03:51 AM
02-06-2005 03:51 AM
Re: Network Printer issue on HP-UX 11i v1
You should not copy /opt/hpnp, but rather link the /opt/hpnpl to /opt/hpnp.
ln -s /opt/hpnpl /opt/hpnp
This should support both new printers added on this system as well as old printers copied from other systems.
If you do not have very standardised environment - you could redefine the printers as proposed by Bill, but we have not done this.
If the printers are defined again, they would loose modifications done to print model files (/etc/lp/interface/model.orig/MYLP).
We have approx. 8-900 printers defined and many of these have adapted model files.
It might also be that an old "standard" model file is working better than a new one.
The same applies if you're using print adapters like HP Jetdirect EX or Netport.
You might loose port numbers specified:
/etc/lp/interface/MYLP
xPORT="-p 9101"
If it's working - why fix it...