Solved

Clearing a print queue

Posted on 2000-03-20
1
219 Views
Last Modified: 2013-12-23

      One of my users tried printing a binary file through one of our
line printers.    Now the printer is munged up.   It will print one line of what
looks like binary code and then shut itself off.
     The server sending the print job is running Solaris.   I deleted the files
from /var/spool/print   hoping this would kill it.   But the files have shrunk
to -1 bytes and the printer is still stuck.
        Can anyone help me to get the jobs out of the gueue and
clear the printer?
0
Comment
Question by:bwsaul
[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
1 Comment
 
LVL 1

Accepted Solution

by:
dserna earned 75 total points
ID: 2636566
Here are some things that you can try:

Stop printing services, remove the queue files, and then restart the print service:

#  /usr/sbin/lpshut
#  cd /var/spool/lp
#  pwd  (verify the directory)
#  rm -r requests tmp temp fifos
#  rm SCHEDLOCK            (if it exists)
#  cd /var/spool/print
#  rm  *                   (remove all files except .seq file)
#  /usr/lib/lpsched         (restart the schedular)

That should do the trick.

Hope that helps. :)
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Suggested Courses
Course of the Month10 days, 5 hours left to enroll

624 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