- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Print already exist (L2000 running Unix 11)
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
05-25-2004 05:58 AM
05-25-2004 05:58 AM
Print already exist (L2000 running Unix 11)
Hope some one can help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 06:04 AM
05-25-2004 06:04 AM
Re: Print already exist (L2000 running Unix 11)
Maybe somebody did not remove these printers correct in the past.
Try running
# lpadmin -rprinter_name
or
# lpadmin -xprinter_name
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 06:15 AM
05-25-2004 06:15 AM
Re: Print already exist (L2000 running Unix 11)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 06:24 AM
05-25-2004 06:24 AM
Re: Print already exist (L2000 running Unix 11)
http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?pnameOID=18922&locale=en_US&taskId=135&prodSeriesId=27349&prodTypeId=18972&swEnvOID=7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 06:25 AM
05-25-2004 06:25 AM
Re: Print already exist (L2000 running Unix 11)
You could take a look in the /var/spool/lp/request directory to see what print queues the system already knows about.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 06:58 AM
05-25-2004 06:58 AM
Re: Print already exist (L2000 running Unix 11)
Basically when you try and set up a printer with lpadmin it says it already exists and when you try and remove it, it says it doesn't exist. It's a bit like talking to a tax consultant.
The only solution I have found is to remove, manually, all the printer config stuff yourself.
Stop the scheduler with "lpshut"
Take a copy of the whole of /var/spool/lp and /etc/lp just to be on the safe side.
Remove anything in /var/spool/lp/interfaces. Remove any directories in /var/spool/lp/request
Try creating a printer now, it might not work so continue...
I might start getting filenames wrong at this point as I don't have a sys V print system to hand but you may need to zero the queue file which I think is called pqueue with "> pqueue". You can also remove the "seqfile" just in case. If there are similar files in /etc/lp (can't quite remember) them remove these too.
There may be one or two other files but this should do for now.
Don't forget to restart the scheduler with "lpsched"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 07:09 AM
05-25-2004 07:09 AM
Re: Print already exist (L2000 running Unix 11)
> /var/spool/lp/pstatus
> /var/spool/lp/qstatus
> /var/spool/lp/outputq
That should get things back to normal. If not, someone may have messed up permissions and other files/programs. Run swverify to check on printer software:
swverify PrinterMgmt
Bill Hassell, sysadmin