Solved

printed file not removed from spool

Posted on 1997-04-17
3
225 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 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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
llcommand 6 111
Linux performance issues with 100% swap usage, etc 15 105
LINUX ZIP - UNCOMPRESS WINDOWS PATH 3 121
SCO 5.0.7 on HP Proliant DL380 G5 will not shutdown properly. 6 90
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

751 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