1832928 Members
2372 Online
110048 Solutions
New Discussion

Printer disabled

 
Nagaraj_4
Occasional Contributor

Printer disabled

Hi there,

For the printer I've checked in UNIX, I see the printer, it is diseabled with 28 rerquests waiting,but I can not enable the printer, I got the message : "option not supported"

printer NL33 printing on host2 :
printer status :
printer nl224107 disabled since Mar 4 10:25 -
error 141 returned
fence priority : 0

printer has 28 request waiting.


Ho can I check the status and remove the queue and enable the printer.
5 REPLIES 5
Michael Steele_2
Honored Contributor

Re: Printer disabled

1) cd /var/spool/lp
2) ls FIFO, CCHEDLOCK
3) lpstat -r (* still running? *)
4) lpshut (* if running *)
5) rm FIFO, SCHEDLOCK, outputq, *lock
6) >outputq
7) >log
8) ps -ef | grep -i lp
9) kill all lp pids from 8)
10) lpsched -v
11) more log
12) lp -d printer file
Support Fatherhood - Stop Family Law
Michael Tully
Honored Contributor

Re: Printer disabled

not sure exactly what the error 141 is (haven't got access to a system right now) but at a guess it is either a permission or network problem.

To cancel the print jobs:
# cancel -e

This will remove all 28 jobs.
Anyone for a Mutiny ?
Michael Steele_2
Honored Contributor

Re: Printer disabled

Oops... /usr/bin/enable printer.
/usr/bin/accept printer.
Before lpsched 10)
Support Fatherhood - Stop Family Law
Steve Steel
Honored Contributor

Re: Printer disabled

Hi

Explained this before

see

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc5e591ccb36bd611abdb0090277a778c,00.html


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Thamm
Occasional Advisor

Re: Printer disabled

Hi,
with "lpstat -p" you can check the status of all printers.
If one is disabled you can enable it with "enable Printername".
Jobs can be canceled by:
1. lpstat -d Printername
The output shows the jobnames
2. cancel Jobname

Regards,
Stefan