Operating System - HP-UX
1832751 Members
2724 Online
110045 Solutions
New Discussion

Printer is not comming to enable ,

 
SOLVED
Go to solution
rveri
Super Advisor

Printer is not comming to enable ,

Hi ,

This is the command used to create the printer:

here $i=PR02
#lpadmin -p$i -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -orm$i-JET-laser -orp$i

Earlier working fine , but today not working , saying disabled.

# lpstat -t | grep -i PR02
device for N004: /dev/null
remote to: PR02 on pr02-JET-laser
PR02 accepting requests since Jan 27 21:54
printer PR02 disabled since Apr 06 14:46 -


I am trying to enable , but its says " printer now enabled" , but lpstat showing disalbed.

What could be the problem ,

Pls suggest,

Regards,
Veri.
------
2 REPLIES 2
harry d brown jr
Honored Contributor
Solution

Re: Printer is not comming to enable ,

make sure the printer is turned on and ONLINE, then try an

lpshut

then

lpsched

then try the enable if necessary


live free or die
harry d brown jr
Live Free or Die
rveri
Super Advisor

Re: Printer is not comming to enable ,

Thanks Harry ,

I did all those stuffs , but still problem persisit, the print was going form SAP but stucking at the Printer , I created one more printer with same IP , and moved job here to there , then the other printer got disabled automatically. Then how it starts dont know. But lpalt commad help to start it.
I got this error in /var/adm/lp/log

PR02-331 dbadm PR02 Apr 6 16:40
lpsched: can't open request file "request/PR02/dB0131server03"

PR02-332 dbadm PR02 Apr 6 16:48

Now its enabled and working fine. Seems problem with some Jobs that had submitted.

Thanks ,
Veri.