- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New minor problem with JetDirect hppi command
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
Discussions
Discussions
Forums
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
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
тАО05-06-2003 12:25 PM
тАО05-06-2003 12:25 PM
I have installed the new JetDirect software under 11i and everything works well except for one minor annoying problem. When I use hppi to create a new printer, a "_1" is always appended to the printer name. The old jetadmin command did this as well. Is there a cure for this?
TIA,
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 12:27 PM
тАО05-06-2003 12:27 PM
SolutionThe simple fix is to not use hppi but to instead create a small script that calls the "addqueue" command. Man addqueue for details. I do remember "fixing" this once for somebody so I may look for that solution as well but I actually prefer addqueue.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 12:38 PM
тАО05-06-2003 12:38 PM
Re: New minor problem with JetDirect hppi command
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 12:43 PM
тАО05-06-2003 12:43 PM
Re: New minor problem with JetDirect hppi command
I should have added that I know I can edit the "suggested" queue name but I would like a fix so that I don't have to edit anything.
TIA,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 12:47 PM
тАО05-06-2003 12:47 PM
Re: New minor problem with JetDirect hppi command
1) cd to /opt/hpnpl/admin
II) cp option6hp optionhp.sav
C) vi option6hp
4)
find these lines:
------------------------------------
i=1
while [ 0 ]
do
# [ Modify by Amit R. Raval to fix the problem of not able to create a
# queue which has "-" in the name on 23rd June 1998.
# aNAME="$QBASENAME"_"$i"
aNAME="`echo "$QBASENAME" | "$SED" 's/-/_/g'`"_"$i"
# ]
if [ -f $INTFDIR/$aNAME ]
then
i=`expr $i + 1`
else
break
fi
done
-------------------------------------
change them to:
-------------------------------------
i=0
while [ 0 ]
do
# [ Modify by Amit R. Raval to fix the problem of not able to create a
# queue which has "-" in the name on 23rd June 1998.
# aNAME="$QBASENAME"_"$i"
aNAME=${QBASENAME}
if [ ${i} -gt 0 ]
then
aNAME="`echo "$QBASENAME" | "$SED" 's/-/_/g'`"_"$i"
fi
# ]
if [ -f $INTFDIR/$aNAME ]
then
i=`expr $i + 1`
else
break
fi
done
--------------------------
V) Save the file.
That should fix you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 01:18 PM
тАО05-06-2003 01:18 PM
Re: New minor problem with JetDirect hppi command
Thanks,
David