- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lp default dest - remove! remove!
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
04-02-2004 08:12 AM
04-02-2004 08:12 AM
misconfigured and malformed printer queues
off of one of my server. But, lpstat still
thinks the default printer is still there.
How do I get rid of the default queue
definition? Where is it configured?
The queue is gone but lpstat and sam think
it's still there.
All traces of queues in /etc/lp /var are gone.
Also in /var/sam .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2004 08:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2004 08:36 AM
04-02-2004 08:36 AM
Re: lp default dest - remove! remove!
and if you try to add it with sam it won't
let you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2004 08:47 AM
04-02-2004 08:47 AM
Re: lp default dest - remove! remove!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2004 09:04 AM
04-02-2004 09:04 AM
Re: lp default dest - remove! remove!
cd /etc/lp/interface
lpshut
for i in `ls`;do
lpadmin -x$i
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2004 09:11 AM
04-02-2004 09:11 AM
Re: lp default dest - remove! remove!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 02:57 AM
04-05-2004 02:57 AM
Re: lp default dest - remove! remove!
I added the queue back and another and
tried to switch default destination.
I can see /var/spool/lp/default being
modified with the new entry but lpstat -t
still shows the old queue name.
Running lpadmin -d with the existenece of
the queue now still does not disable
default destination. Even when default file is empty lpstat still reports queue name as deafult dest. Where is lpstat getting its info for the queue name other than default file???
Running truss against lpstat and lpadmin
did not give much results.
I have tried to remove the queue also with
sam but it does not remove the default destination even though it says it is.???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 03:46 AM
04-05-2004 03:46 AM
Re: lp default dest - remove! remove!
just try to rename default printer by replacing it:
# lpadmin -d
After this another default printer should be configured.
Anyway another time I suggest you to remove a printer by
# lpadmin -x
Maybe something in your script didn't work fine and now you get problems.
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 02:39 AM
04-06-2004 02:39 AM
Re: lp default dest - remove! remove!
line commands like you would type manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 02:53 AM
04-06-2004 02:53 AM
Re: lp default dest - remove! remove!
Couple of things:
1) Make sure that /etc/profile, nor user's .profiles have LPDEST set
2) Check /var/spool/lp/pstatus & qstatus do not contain this printer - be advised that they are not ascii text files.
Lastly, if you don't have any other printers, you could remove the LP fileset & reinstall it. That should essentially wipe the slate clean.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 04:17 AM
04-06-2004 04:17 AM
Re: lp default dest - remove! remove!
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 08:20 AM
04-06-2004 08:20 AM
Re: lp default dest - remove! remove!
If I change LPDEST, it changes the output from lpstat. What a waist of time. ARRRGHH!
Thanks Jeff.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 09:36 AM
04-06-2004 09:36 AM
Re: lp default dest - remove! remove!
Sometimes it's the simple things...
Rgds,
Jeff