- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printer problem on HP-UX 11.0
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
Discussions
Discussions
Discussions
Forums
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
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
тАО07-27-2001 09:01 AM
тАО07-27-2001 09:01 AM
Printer problem on HP-UX 11.0
All but two are working fine. I've deleted the queues for those, re-added the spooler queues, but the result is always the same - prints sit in the queue and go nowhere. I've checked that lpsched is running, check that they are enabled and accepting queues, I've run jetdirect diagnostics and all the information that comes back is that everything is working.
Both printers are HP Laserjet 5N, we have a third identical printer that works.
If I print from the old server all the printers still work.
What can I do next?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2001 09:07 AM
тАО07-27-2001 09:07 AM
Re: Printer problem on HP-UX 11.0
First thing to check is /var/spool/lp/log for clues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2001 09:12 AM
тАО07-27-2001 09:12 AM
Re: Printer problem on HP-UX 11.0
The log file only contains lines such as;
Start: printer7-7069 Fri Jul 27 18:15:02 BST 2001
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2001 09:13 AM
тАО07-27-2001 09:13 AM
Re: Printer problem on HP-UX 11.0
One other thought, since you did not say this explicitly, have you printed a test page from jetadmin? This will allow us to separate printer communication from lp issues.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2001 09:26 AM
тАО07-27-2001 09:26 AM
Re: Printer problem on HP-UX 11.0
Good point. One quick(ish) run around the building confirms that jetadmin prints sucessfully to both printers (still have prints in queues for both).
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2001 10:20 AM
тАО07-27-2001 10:20 AM
Re: Printer problem on HP-UX 11.0
Now we know we are fighting lp. I suspect that you have a couple of hpnpf processes that are hung. First cancel all jobs to these printers.
Next do a ps -ef | grep hpnpf and kill any processes. Do an lpshut and an lpsched. Trying sending a new small text job.
If this fails, cancel the jobs. Then kill the hpnpf's again. I would then delete and re-add the printers from jetadmin. I think that will fix you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2001 10:23 AM
тАО07-27-2001 10:23 AM
Re: Printer problem on HP-UX 11.0
1. lpshut
2. If /var/spool/lp/FIFO and /var/spool/lp/SCHEDLOCK still exist, remove them
3. Clear the outputq file.
> outputq
4. Kill any lpsched processes that may be reported by:
ps -ef | grep lpsched
5. Restart the scheduler
lpsched
6. Verify that it is running:
ps -ef | grep lpsched
lpstat -t | more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 09:28 AM
тАО07-30-2001 09:28 AM
Re: Printer problem on HP-UX 11.0
Clay, I searched for hpnpf pprocesses, but there weren't any. I'd already deleted and readded the printers a few times in jetadmin, so as I hadn't changed anything I didn't try again.
Shawn, after lpshut I checked for FIFO and SCHEDLOCK, but they weren't there. I typed "> outputq" and restarted the scheduler. Unfortunately, all the print queues then hung, and I went back and deleted and readded the queues in jetadmin. One of the two effected printers also started printing; and the last one while it does print, now prints 20 copies of each print.
Later on this afternoon all printing stopped again, and I discovered that another lpsched was running, killed that one and everything started OK.
So, my only problem now appears to be one printer that prints multiple copies of a single print request. Any more good ideas?
Thanks alot for the help so far.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2001 09:10 AM
тАО07-31-2001 09:10 AM
Re: Printer problem on HP-UX 11.0
So to summarise; 10.20 server prints fine, 11.0 server prints infinite copies (print job remains in spooler queue indefinitely). We have 3 HP Laserjet 5N printers, one working, 2 not. Switched the IP's on the printers, problem stayed with the printer.
The fix? In the PCL Fonts Menu on the working printer the SYM SET was ISO L1, on the two that didn't work SYM SET was PC-8. Once changed to ISO L1 the problem was solved.
This means that 11.0 outputs different control characters from 10.20 that the printers don't understand, which causes completed print jobs not to be deleted from the spooler (I think).
Sorry if this seems rambling but hopefully it may help if anyone else has the same problem.