- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Stuck printer job - restart spooler or cancel ...
Operating System - HP-UX
1752784
Members
6071
Online
108789
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
06-12-2006 05:13 AM
06-12-2006 05:13 AM
Re: Stuck printer job - restart spooler or cancel it?
Hi (again):
An aside. *Never* begin killing with 'kill -9'. A 'kill -9' can't be trapped and thus the receiving process has no ability to cleanup temporary files or shared memory segments. This can have nasty consequences.
Begin kills with a 'kill -hup'. Escalate to 'kill -term' and then as a last resort, 'kill -9'.
Regards!
...JRF...
An aside. *Never* begin killing with 'kill -9'. A 'kill -9' can't be trapped and thus the receiving process has no ability to cleanup temporary files or shared memory segments. This can have nasty consequences.
Begin kills with a 'kill -hup'. Escalate to 'kill -term' and then as a last resort, 'kill -9'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 11:11 AM
06-12-2006 11:11 AM
Re: Stuck printer job - restart spooler or cancel it?
It's important to understand how the spooler actually sends a job to the printer. It looks like this:
lpsched -> lpsched -> sh -> hpnpf -> printer
Now this is for a printer which an HP printer with an HP network cand and the printer was added using hppi or SAM (a lot of if's). And important, don't kill every hpnpf you see. You must kill the one which belongs to the printer EXB35HP. Otherwise, you just killed someone else's print job.
Print jobs get hung for anumber of reasons. One of the most common reasons is "out of paper" or "paper jam". The spooler has nothing to report or diagnose this type of problem (sort of like Windows unfortunately). Printers without a front panel are very susceptible to this problem because there is nothing for the operator to read...just blinking lights.
And of course, you may have networking problems that are causing the printer to hang.
Bill Hassell, sysadmin
lpsched -> lpsched -> sh -> hpnpf -> printer
Now this is for a printer which an HP printer with an HP network cand and the printer was added using hppi or SAM (a lot of if's). And important, don't kill every hpnpf you see. You must kill the one which belongs to the printer EXB35HP. Otherwise, you just killed someone else's print job.
Print jobs get hung for anumber of reasons. One of the most common reasons is "out of paper" or "paper jam". The spooler has nothing to report or diagnose this type of problem (sort of like Windows unfortunately). Printers without a front panel are very susceptible to this problem because there is nothing for the operator to read...just blinking lights.
And of course, you may have networking problems that are causing the printer to hang.
Bill Hassell, sysadmin
- « Previous
-
- 1
- 2
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP