Solved

Clearing a print queue

Posted on 2000-03-20
1
214 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
1 Comment
 
LVL 1

Accepted Solution

by:
dserna earned 75 total points
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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.
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…

762 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

16 Experts available now in Live!

Get 1:1 Help Now