GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remote Printer removal via SAM
Operating System - HP-UX
1849261
Members
7185
Online
104042
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
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
02-16-2005 12:06 PM
02-16-2005 12:06 PM
Remote Printer removal via SAM
Hi,
We are having some problems with removing printers from SAM.
Firstly, we are trying to change the IP address of our REMOTE PRINTERS (not Network Printers). But from what I have read, the IP Address are in binary and can't be edited; the suggested solution is to remove and add again. This is ok. But when I try to delete from SAM, the spooler stops (normal), but the SAM session sits there and do nothing for like 30 minutes, until I ctrl-C to abort sam and start the spooler again.
*Any idea / suggestions would be greately appericated*
We are having some problems with removing printers from SAM.
Firstly, we are trying to change the IP address of our REMOTE PRINTERS (not Network Printers). But from what I have read, the IP Address are in binary and can't be edited; the suggested solution is to remove and add again. This is ok. But when I try to delete from SAM, the spooler stops (normal), but the SAM session sits there and do nothing for like 30 minutes, until I ctrl-C to abort sam and start the spooler again.
*Any idea / suggestions would be greately appericated*
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2005 12:17 PM
02-16-2005 12:17 PM
Re: Remote Printer removal via SAM
Sorry, forgot to mention that maybe I am missing the basics in what is required to have a printer removed - i.e. do the queues have to be empty? does the queue have to be 'ping' able? - does it need to do a timeout check?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 03:17 AM
02-22-2005 03:17 AM
Re: Remote Printer removal via SAM
If you want to remove a printer, you can do the following:
lpshut
lpadmin -x
lpsched
That will work everytime and it doesn't matter if it is a network or remote.
Regards,
Ed
lpshut
lpadmin -x
lpsched
That will work everytime and it doesn't matter if it is a network or remote.
Regards,
Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2005 06:45 AM
02-22-2005 06:45 AM
Re: Remote Printer removal via SAM
You probably have some hung lp jobs. Use lpshu then look for any processes owned by lp:
ps -f -u lp
If there are any, kill them with -15 and check again. If they are still there, use kill -9. This means that the processes were hung on I/O and SAM was just waiting for them to finish (might take a few years..) Once lpshiut is complete and all lp processes are gone, then SAM will allow lpadmin -x or SAM ot remove a printer.
Bill Hassell, sysadmin
ps -f -u lp
If there are any, kill them with -15 and check again. If they are still there, use kill -9. This means that the processes were hung on I/O and SAM was just waiting for them to finish (might take a few years..) Once lpshiut is complete and all lp processes are gone, then SAM will allow lpadmin -x or SAM ot remove a printer.
Bill Hassell, sysadmin
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 2026 Hewlett Packard Enterprise Development LP