Solved

can't open queue file

Posted on 1997-06-19
3
406 Views
Last Modified: 2013-12-23
When I print some reports through a program written in Informix, half way through the process, I actually do a Cancel to cancel the print job at the unix prompt.

Later when I try to print again, I got "lpstat: can't open output queue file". Does it means that the files is missing?
Do I have to delete the current virtual printer and add a new one??

0
Comment
Question by:ymlew
3 Comments
 
LVL 5

Expert Comment

by:n0thing
ID: 1582156
Hi,

   No you don't have to remove the queue and reinstall it. Do
simply "lpq" to list current print job on queue and "lprm" to
remove that job. These commands are for Solaris and some other
Unix variants, yours may be different.

Regards,
Minh Lai
0
 

Author Comment

by:ymlew
ID: 1582157
I tried to do a "lpg" to list the print job on queue but there are no print job.

Yet the system keeps telling me that no queue file is found.



0
 
LVL 1

Accepted Solution

by:
henrys earned 100 total points
ID: 1582158
This sequence usually works for me (Solaris 2.5):
Stop LP scheduler (lpshut)
Delete all queue files/directories (rm -r /var/spool/lp/tmp/* /var/spool/lp/requests/*)
Restart scheduler (lpsched)
0

Featured Post

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need network only 1 user? 10 88
VLAN Issue 4 67
SBS2011 VPN users no longer connecting 4 22
Wireshark question 1 14
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

679 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