Solved

My jobs stay in the queue after printing

Posted on 1997-02-06
2
397 Views
Last Modified: 2013-12-16
My platform :
- Two Sun Sparc stations, the first is Print Server, the second is Print Client.
- They are linked via Ethernet.
- My HP LaserJet Printer is connected in parallel on bpp0 of the Print Server.
- System : Solaris 2.5.1

When I print from Print client, printing is good but my jobs stay in the queue
after printing. (lpc command says : "nn jobs in spool ..").
Can you tell me how to stop this problem ?

NOTE : when I use command "lpstat -t", the queue is cleared (0 job in spool).
0
Comment
Question by:jpprig
[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
2 Comments
 

Accepted Solution

by:
darrenings earned 100 total points
ID: 1811787
I have seen this before on Sun's. As Solaris is a System V Rel 4 Unix, then I would use the lpstat -t command to check the queue. This will provide the correct information. The lpc and lpq commands are throw backs for Sun OS (not System V Rel 4), I belive this is a bug and I'm sure I remeber phoning Sun about this and them saying that this was a bug.
Check with Sun support on this, is you have it - but I suggest using lpstat commands.
I hope this helps.....

0
 
LVL 1

Expert Comment

by:OM
ID: 1811788
I am affraid the answer is not correct ! I have the smae problem : lpstat says ok, although lpc status pr says "74 entries
in spool area" AND I effectively have 74 entry in /var/spool/lp/temp.
The jobs are not removed once printed, and it is not a bug
from lpc !!
I guess this comes from the lack of back communication between
print server and print client.
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

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…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 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…

730 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