- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing printer name from shell
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
- 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
01-02-2002 09:31 AM
01-02-2002 09:31 AM
changing printer name from shell
Can this be done and what are the steps.
Thanks in advance,
Rich
HPUX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 09:42 AM
01-02-2002 09:42 AM
Re: changing printer name from shell
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 09:56 AM
01-02-2002 09:56 AM
Re: changing printer name from shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 10:09 AM
01-02-2002 10:09 AM
Re: changing printer name from shell
lpadmin -x will delete a printer
I would usually recommend using jetadmin for adding printers, however 113 would take some time. If they are all the same type of printer your script could probably be pretty easy because the -m option would stay the same, if not, hire a junior admin and make this their project (just joking)
GL,
C
- Tags:
- lpadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 10:12 AM
01-02-2002 10:12 AM
Re: changing printer name from shell
-> What kind of printers?
-> Are they all on the network?
-> How many servers have been set up to use these printers (using the incorrect names)?
-> What are the existing names and what do you want to change them to?
-> Was bootp used?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 10:25 AM
01-02-2002 10:25 AM
Re: changing printer name from shell
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 10:35 AM
01-02-2002 10:35 AM
Re: changing printer name from shell
TAI,
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 10:57 AM
01-02-2002 10:57 AM
Re: changing printer name from shell
The commands "addqueue" and "removequeue"
in script loop will help you remove old queue and create new queue.
#removequeue -q
#addqueue -q
If you want to convert all prin queue names from upper case to lower case
List all queuenames.
#lpstat -p |grep printer |awk '{print $2}' >printer_queuenames
Convert all names in above file to lower case and use the files with removequeue and addqueue commands to delete old queues and create new queues.
Thanks.
Prashant Deshpande.
- Tags:
- addqueue