- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Deleting queues in hp-ux B.11.23
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
тАО11-09-2010 12:29 PM
тАО11-09-2010 12:29 PM
I want to create a script but i am not sure where the configuration is created (paths, configuration files, etc) when a queue is added into the system.
Also i need to make a backup before deleting the configuration of all those 2000 printers.
Please give me suggeestions.
Note: i know that i can do it using sam but i need to create the script instead of delete one by one.
Solved! Go to Solution.
- Tags:
- lpadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 12:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 12:49 PM
тАО11-09-2010 12:49 PM
Re: Deleting queues in hp-ux B.11.23
removequeue -q dilbert -f
when this command is used, what configurations files are deleted? (what path? )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 12:51 PM
тАО11-09-2010 12:51 PM
Re: Deleting queues in hp-ux B.11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 12:54 PM
тАО11-09-2010 12:54 PM
Re: Deleting queues in hp-ux B.11.23
what is the difference in using below commands?
removequeue -q queuename -f
lpadmon -xqueuename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 12:57 PM
тАО11-09-2010 12:57 PM
Re: Deleting queues in hp-ux B.11.23
Something to do with save and restore spooler config. Lots of threads about this:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1011463
>I only need to delete 2000? can I do that manually?
Do you have a list of them?
for printer in $(< delete-list); do
lpadmin -x$printer
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 02:14 PM
тАО11-09-2010 02:14 PM
Re: Deleting queues in hp-ux B.11.23
thanks a lot ..
i would like to know what directory paths are affected when i apply
lpadmin -x$printer
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 02:20 PM
тАО11-09-2010 02:20 PM
Re: Deleting queues in hp-ux B.11.23
FILES
/var/spool/lp/*
/var/adm/lp/*
/etc/lp/*
/usr/lib/lp/*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 06:15 PM
тАО11-09-2010 06:15 PM
Re: Deleting queues in hp-ux B.11.23
what is the difference in using below commands?
removequeue -q queuename -f
lpadmon -xqueuename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2010 06:44 PM
тАО11-09-2010 06:44 PM
Re: Deleting queues in hp-ux B.11.23
> removequeue -q queuename -f
This is part of the hppi package for HP JetDirect print interfaces. It is not designed for remote printers or direct-connect printers such as serial or parallel.
lpadmon -xqueuename
I believe you meant lpadmin -x and this is the lp spooler command to remove remote and direct-connect printers, but not HP JetDirect connections.
Bill Hassell, sysadmin