Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

printed file not removed from spool

Posted on 1997-04-17
3
Medium Priority
?
234 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 160 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

Independent Software Vendors: 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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month7 days, 3 hours left to enroll

782 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