Solved

printed file not removed from spool

Posted on 1997-04-17
3
222 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
ID: 1812039
In solaris 2.4 there is a patch for a bug very similar
0
 

Accepted Solution

by:
swint earned 80 total points
ID: 1812040
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
ID: 1812041
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

685 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