Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Clearing a print queue

Posted on 2000-03-20
1
Medium Priority
?
220 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 225 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

704 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