- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can not delete a printer
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
02-28-2002 08:03 AM
02-28-2002 08:03 AM
Can not delete a printer
I used SAM to setup the printer last week and it worked fine for a few days. Then we eitehr had a network crash or a server go down (never did hear the whole story).
The upshot is now I can not start the spooler on the J-box, and I can't delete this printer using SAM.
It appears the network is back. I can print to the printer from this location (but not the remote location), I can ping the printer from the remote site and can telnet with JetAdmin from both the local and remote sites.
Is there a different way to remove a printer? I'm leary of just deleting files in the /var/spool tree without a little guidance. Or is there something someone knows about that will get me out of this trouble?
Thanks!
Norman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 08:04 AM
02-28-2002 08:04 AM
Re: Can not delete a printer
lpadmin -xprinter
Steve steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 08:09 AM
02-28-2002 08:09 AM
Re: Can not delete a printer
man lpadmin
the -x option followed by the destination should remove the destination from the LP system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 08:10 AM
02-28-2002 08:10 AM
Re: Can not delete a printer
Check the printer status with 'lpstat -t' first. If there is any job queues waiting, you can delete thos requests with 'cancel -e' command. For deleting a printer, use 'lpadmin -xprintername'. The scheduler can be start and stop by lpsched and lpshut commands.
Check man pages of lpadmin, cancel, lpstat etc.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 08:37 AM
02-28-2002 08:37 AM
Re: Can not delete a printer
# lpshut
# lpadmin -xprinter_name
# lpsched
Check /var/spool/lp/request and you should not see the printer_name directory there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 08:43 AM
02-28-2002 08:43 AM
Re: Can not delete a printer
The 'lpstat -t' command looks right until the very bottom where I get this:
cannot examine spooling area
cannot find the printer 1055p2
Trying to remove this printer with 'lpadmin -xm_c1055p2' gives this:
tx95j1# /usr/sbin/lpadmin -x1055p2
/usr/sbin/lpadmin: destination "1055p2" non-existent
The printers are this:
1055p2 is the name given to the printer at this site (IL)
c1055p2 is the name of this same printer in the remote location (TX)
About the only odd thing is that the directories in /var/spool/lp/request are links to another disk on the remote machine. I've done this for all the printers on this machine and not had a problem. Just this remote printer is the problem.
Any other thoughts?
Thanks for the help so far!
Norman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 08:49 AM
02-28-2002 08:49 AM
Re: Can not delete a printer
Check whether the daemon - 'rlpdaemon' is running on the location where the printer is connected. This should be running on the server in order to receive the requests.
If it is not, then you have to enable this option in /etc/inetd.conf file and then restart the inetd daemon (-c option).
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 08:51 AM
02-28-2002 08:51 AM
Re: Can not delete a printer
/var/spool/lp directory (example)
644 lp:sys outputq
644 lp:bin pstatus
644 lp:bin qstatus
Also check /usr/sbin ..
-r-sr-xr-- root:lp rlp
-r-sr-xr-x root:bin rlpdaemon
-r-sr-xr-x root:bin rlpstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 10:52 AM
02-28-2002 10:52 AM
Re: Can not delete a printer
I appreciate all the time and effort, and learning a bit more about the ins and outs of printing on HP-UX.
Norman