Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

printed file not removed from spool

Posted on 1997-04-17
3
Medium Priority
?
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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 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.:

688 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