First let check the current status of the printer
# lpstat
If the job stock cannot be removed with the following command then try
enq -x job -P printer
to manipulate the daemon (qdaemon) use the following
startsrc -s qdaemon
stopsrc -s qdaemon
I think the commands speak by their own ;-)
Stop associated processes:
ps -ef | grep qd
kill -9 PIDNumbers
ps -ef | grep pio
kill -9 PIDNumbers
with the qdaemon don client those paths that store the queues, jobs etc etc with the following
rm /var/spool/lpd/qdir/*
rm /var/spool/lpd/stat/*
rm /var/spool/qdaemon/*
Once everything has been cleared restart the qdaemon
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.