- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPPI and printer name
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
Discussions
Forums
Discussions
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
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-09-2007 01:29 AM
02-09-2007 01:29 AM
HPPI and printer name
example: mfg_sac_hp4100_l when adding printer
need to go into config(1) and change to mfg_sac_hp4100
Just a bit of a nuisance, but was wondering why this happens.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2007 02:03 AM
02-09-2007 02:03 AM
Re: HPPI and printer name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2007 02:39 AM
02-09-2007 02:39 AM
Re: HPPI and printer name
---------------------------------------------
1) Locate the file /opt/hpnpl/admin/option6hp
and make a backup copy just in case.
2) Edit the file and find the string 'aNAME'.
Locate the line aNAME="`echo $QBASENAME | "$SED" 's/-/_/g'"_"$i".
Precede this line with the following:
aNAME=${QBASENAME}
if [ ${i} -gt 0 ]
then
original line goes here
followed by fi
3) Locate the enclosing while [ 0 ] statement; the line above should be changed from
i=1
to
i=0.
That's it.
The condition prevents a hang in case more than one queue is being assigned to the same IP node. If a duplicate is found then the default behavior kicks in.
-----------------------------------------
Of course, it's still easier to simply use addqueue but if the interactive add bothers you this the above hack will fix you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2007 06:08 AM
02-09-2007 06:08 AM
Re: HPPI and printer name
Thanks for the script change!
It worked like a charm!
Very good info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2007 02:51 PM
02-09-2007 02:51 PM
Re: HPPI and printer name
You can avoid all of this junk by simply using the command line (and a it's a lot faster):
addqueue -h 12.34.56.78 -q mfg_sac_hp4100
wherr -h is the IP address. Note that I prefer using IP addresses for printers because so many DNS admins fail to add printer hostnames in a timely manner.
Bill Hassell, sysadmin