Solved

My jobs stay in the queue after printing

Posted on 1997-02-06
2
395 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
2 Comments
 

Accepted Solution

by:
darrenings earned 100 total points
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now