We help IT Professionals succeed at work.

My jobs stay in the queue after printing

jpprig
jpprig asked
on
Medium Priority
415 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).
Comment
Watch Question

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.....

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
OM

Commented:
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.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.