HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rename multiple jetdirect queues
Operating System - HP-UX
1833017
Members
2458
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
06-03-2004 05:23 AM
06-03-2004 05:23 AM
Hi All. I have the daunting task of having to rename all of our jetdirect print queues (~50) and a few remote queues to under 9 characters. We are running HP-UX 11i.
From what I've seen the only way to do this is to delete and re-add the printer, but was hoping someone has found a way by now to do this or has perhaps scripted something similar.
Any hidden switches for the modifyqueue command?
From what I've seen the only way to do this is to delete and re-add the printer, but was hoping someone has found a way by now to do this or has perhaps scripted something similar.
Any hidden switches for the modifyqueue command?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 05:32 AM
06-03-2004 05:32 AM
Solution
Best to delete/re-add
Create 2 files with a list of current queues, and new queues...
for i in `cat oldfile`
do
lpadmin -X$i
done
for i in `cat newfile`
do
addqueue -i 9998 -h $i.yourdomain.com -q $i
done
Or something like that - bare in mind that will create Jet Direct queues...network printers...
Rgds...Geoff
Create 2 files with a list of current queues, and new queues...
for i in `cat oldfile`
do
lpadmin -X$i
done
for i in `cat newfile`
do
addqueue -i 9998 -h $i.yourdomain.com -q $i
done
Or something like that - bare in mind that will create Jet Direct queues...network 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 06:56 AM
06-03-2004 06:56 AM
Re: rename multiple jetdirect queues
Thanks Geoff.
Thats what I thought, but at least scripting might help. Unfortunately, we prefer to use ip's instead of hostnames, so I guess I really have to do things the hard way.
Thats what I thought, but at least scripting might help. Unfortunately, we prefer to use ip's instead of hostnames, so I guess I really have to do things the hard way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 09:29 AM
06-03-2004 09:29 AM
Re: rename multiple jetdirect queues
One way to avoid setting up new printers is to setup a printer class with a name that is acceptable, and assign the printer with the longer name to that class. The users can then print to the class.
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