If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: "Helene D." <hkd2000@no-spam-bcpl.net> Subject: Re: Help: Printer Stalled by Cancelled Job References: <lTYe7.53699$TW.274409@tor-nn1.netcom.ca> Date: Sat, 18 Aug 2001 02:11:20 -0400 JP wrote: > We have a printer serving both SCO UNIX 5.0.5 and a Windows NT Server. > Windows and UNIX both print to the same phyical printer directly. > > At the time the printer was busy with a job from Windows, a UNIX user sent > her print job. The UNIX print job was stalled and the user then cancelled > the job from the UNIX application. When the printer became available, the > cancelled job was still showing on the UNIX print queue. > > Since then, any subsequent UNIX job sent to that printer could not go > through. lpstat showed the first job as cancelled, but there were still a > lot of jobs waiting to be sent to the printer. We could not get rid of the > stalled job from the queue. I then noted the job number 83775 and cleared > the following files: > > 1. /usr/spool/lp/requests/83775 > 2. /var/spool/lp/temp/83775 > 3. /var/spool/lp/temp/83775-0 > 4. /var/spool/lp/temp/83775-1 > > However, when I ran lpstat again, the cancelled job was still showing and > all other jobs could not go through. I tried disabled and enabled the > printer but nothing changed. > > How can I clear the cancelled job completely and make the printer work > again? What could have caused the problem? Can any expert please give me an > advice. > > Thanks in advance. > > Cheers
You might have a hung lp process on SCO. Shutdown the spooler, find
the hung process, then kill-9 it, and restart the spooler.
lpshut (and wait a few seconds afterwards)
ps -ef | grep -i lp (if there is an lp process for the target printer,
note it's
pid number)
kill -9 <pid number>
lpsched
What is your printer model? If it's an HP laserjet with multiple active
interfaces (serial/parallel/network), you may need to increase it's
TIMEOUT value. The default of 15 seconds may too short for the
printer to effectively switch between print requests coming on
different interfaces.
Hope this helps,
-Helene D.

/Bofcusm/1234.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar