Here is the result from entering the "uname -1" command....SCO_SV unix 3.2 5.0.6 i386
Main Topics
Browse All TopicsWhen I enter a cancel command to cancel a print job that is hung, I get the following, and the jobs is not removed..all of the jobs below were cancelled asnd still show as follows
lp6-508600 root 489348 Dec 03 15:50 notifying user
lp7-509027 root 9965 Dec 05 07:35 canceled
lp7-509028 root 9965 Dec 05 07:35 canceled
lp1-509368 root 746 Dec 05 15:16
lp6-512029 root 82258 Dec 17 10:36
lp22-512569 root 855 Dec 18 15:29
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
SCO 3.2x is very old now (>10 years). It could be the old bug, I've seen it login time ago. (some time hve proble with cancel print jobs!)
You can manually stop the Spooler, and delete the job, then restart
the Spooler.
to stop the Spooler, type in:
/usr/lib/lpshut
then delete the jobs in:
/usr/spool/lp/requests
/var/spool/lp/temp
restart the spooler:
/usr/lib/lpsched
PS: there is a startup/stop script in /etc/rc*.d/*lp*, sorry, I have not play with SCO for long time, could not remember the exact filename.
zuzh,
Attached is are the file listings from:
directory - /usr/spool/lp/requests
directory - /var/spool/lp/temp
and the command "lpstat -0 |pg
I have not deleted any files yet, and will bring all users off the system to stop the spooler, delete the files, then retsart the spooler, but before I do, it appears that the files in the directory "/usr/spool/lp/requests" are the same files that are displayed with the "lpstat" command, but there are hundreds of files in the directory "/var/spool/lp/temp" that go back to 2003...is there a reason why these remain on the system, and should they be deleted as well? They seem to be taking up a lot of disk space.
You can maunally delete the old files. eg anything old than 2 days under them,
eg
find /usr/spool/lp/requests -type f -mtime +2 -exec rm {} \;
find /var/spool/lp/temp -type f -mtime +2 -exec rm {} \;
If you have too many files, for older version of SCO, you might end up have to do:
find /usr/spool/lp/requests -type f -mtime +2 | xargs rm -f
find /var/spool/lp/temp -type f -mtime +2 | xargs rm -f
Business Accounts
Answer for Membership
by: yuzhPosted on 2008-04-03 at 18:30:51ID: 21278447
To help the expert to understand your problem, please post your exact OS version, or the output of "uname -a" command.
Have a nice weekend!