- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sam - Remote printer problem.
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-19-2002 07:39 AM
04-19-2002 07:39 AM
Sam - Remote printer problem.
The remore printer "Laser_A (whose location is Laser_A on print.mydomain.it)" already exists on this system
On the system aren't installed any printer.
Please help me.
Best regards
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2002 07:47 AM
04-19-2002 07:47 AM
Re: Sam - Remote printer problem.
What is the o/p of lpstat -t . Does it show the printer if not then the orgianlly the printer was not removed cleanly and has some remanents in /usr/spool/lp/interface or requests directory . If you cant do a lpadmin -x
Alternatively you can delete the files associated with this printer and reinstall the printer.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2002 07:59 AM
04-19-2002 07:59 AM
Re: Sam - Remote printer problem.
Do
find / -name Laser_A
and if it returns any files then that's indicative of what Manoj has pointed out - that Laser_A existed at one time & was not cleanly removed.
You could then do - after stopping the spool with lpshut
find / -name Laser_A -exec rm {} \;
to remove them all if the lpadmin -x Laser_A does not succeed in removing them.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2002 08:44 AM
04-19-2002 08:44 AM
Re: Sam - Remote printer problem.
to fix, replace this line:
if lpstat $1 > /dev/null 2>&1
with this line:
if lpstat -p$1 2>&1 |grep -v non-existant >/dev/null 2>&1
and then you should be able to add the printer.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2002 05:56 AM
04-20-2002 05:56 AM
Re: Sam - Remote printer problem.
Mark's listed script fix will correct your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2002 08:54 AM
04-20-2002 08:54 AM
Re: Sam - Remote printer problem.
I'd never run across this.
But then, I don't normally use SAM to add printers.
Thanks, Mark & Tom.
Rgds,
Jeff