Solved

printed file not removed from spool

Posted on 1997-04-17
3
212 Views
Last Modified: 2013-12-16
I use a remote printer on Solaris 2.5.
Printing works weel. Unfortunately
all printed files are not removed from the spooler area
(yes, I went into the correct directory)
How do I setup the dam... lp commands to make these files disappear ?
0
Comment
Question by:OM
3 Comments
 
LVL 1

Expert Comment

by:hrumayor
Comment Utility
In solaris 2.4 there is a patch for a bug very similar
0
 

Accepted Solution

by:
swint earned 80 total points
Comment Utility
cd to the directory /var/spool/lp/tmp/"SYSTEM NAME", it should have all of the files in it, try running 'lpstat' and seeing if all of the files are there.  Also edit the file /etc/lp/Systems ,
near the bottom will be lines like this:

"PRINTER_NAME":x:-:bsd:-:n:10:-:-:

change the 4th column (the 2nd dash) to a 1, this one only one file should stay in the directory.  

Hope this helps...
0
 
LVL 1

Author Comment

by:OM
Comment Utility
The raeson was that the printer was setup BSD while
it is using S5 system.
Then, changing bsd to s5 in the Systems file made
the file deteted.
It is not clear enough the role of the 4th field
of the Systems line.

The answer is not complete, regarding of the question,
but it is interesting enough to be be C rating.

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now