HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- print queue communication
Operating System - HP-UX
1829525
Members
2146
Online
109991
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
Discussions
Forums
Discussions
back
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
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
11-02-2001 08:31 AM
11-02-2001 08:31 AM
print queue communication
I have a situation that I need to explain what happened first, then my question:
In SAM I assigned a printer named 'oracleprt' to a DP65 system queue named "P1". I then attempted to send 2 or 3 jobs to the printer using the lp -d command. From that point on, I have not been able to do the following:
lpstat
lpstat -t
list the print requests through SAM
remove the printer in SAM
It seems like the 'oracleprt' can not talk with the queue name on the DP65 system. Since this has happened, I found about just a short time ago that the system admin for the DP65 system has removed the queue from the system that I am trying to talk to. Now for my question:
How do I remove the jobs queued to that printer. Can I remove them manually, since I can not get SAM to do it ??
How do I remove the printer since that queue is now gone??
Will I need to do a reboot, and if so will it resolve the situation???
thanks for your help....this is a great place to learn and get help. Thanks again to HP for putting this up...Jay
In SAM I assigned a printer named 'oracleprt' to a DP65 system queue named "P1". I then attempted to send 2 or 3 jobs to the printer using the lp -d command. From that point on, I have not been able to do the following:
lpstat
lpstat -t
list the print requests through SAM
remove the printer in SAM
It seems like the 'oracleprt' can not talk with the queue name on the DP65 system. Since this has happened, I found about just a short time ago that the system admin for the DP65 system has removed the queue from the system that I am trying to talk to. Now for my question:
How do I remove the jobs queued to that printer. Can I remove them manually, since I can not get SAM to do it ??
How do I remove the printer since that queue is now gone??
Will I need to do a reboot, and if so will it resolve the situation???
thanks for your help....this is a great place to learn and get help. Thanks again to HP for putting this up...Jay
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:38 AM
11-02-2001 08:38 AM
Re: print queue communication
Hi,
Try lp command for "cancel" the job .
(Man lp for arguments on cancel)
Or use Sam > Printers and Plotters> lp spooler >print request..>
Goodluck.
USA..
Try lp command for "cancel" the job .
(Man lp for arguments on cancel)
Or use Sam > Printers and Plotters> lp spooler >print request..>
Goodluck.
USA..
Good Luck..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:55 AM
11-02-2001 08:55 AM
Re: print queue communication
Use "cancel" to remove print jobs as suggested by Uday and use this procedure to remove the printer .. (sounds like you got spooler corruption)
# lpshut
==>shutdown spooler
# cd /var/spool/lp/member
# touch oracleprt
# chown lp oracleprt
# cd ../interface
# touch oracleprt
# chown lp oracleprt
# cd ../request
# mkdir oracleprt
# chown lp oracleprt
# lpadmin -xoracleprt
==> removing the printer
# lpsched
==> bring up spooler
.. good luck
# lpshut
==>shutdown spooler
# cd /var/spool/lp/member
# touch oracleprt
# chown lp oracleprt
# cd ../interface
# touch oracleprt
# chown lp oracleprt
# cd ../request
# mkdir oracleprt
# chown lp oracleprt
# lpadmin -xoracleprt
==> removing the printer
# lpsched
==> bring up spooler
.. good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:56 AM
11-02-2001 08:56 AM
Re: print queue communication
Hi:
The first thing I would try is an lpshut to stop the scheduler followed by an lpsched command.
The first thing I would try is an lpshut to stop the scheduler followed by an lpsched command.
If it ain't broke, I can fix that.
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 2025 Hewlett Packard Enterprise Development LP