Solved

Clearing a print queue

Posted on 2000-03-20
1
217 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
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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
QoS for Voip 7 56
Samba Question 11 78
Cisco WRVS4400N 11 37
How do you do a firmware update on HP Proliant Servers? Smart update manager? 3 30
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.
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
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…

830 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