1834164 Members
3145 Online
110064 Solutions
New Discussion

printer not working

 
Gurumanickam
Frequent Advisor

printer not working

hi all,

Os: hp-ux A.09.05.printer:wipro LQ series (DMP). Printer was powered off and started again after that printer is not printing.
if i see from sam, it's showing the printer name. if i give print lp -dprintername filename, it's saying printername non existance, i tried to remove the priter from sam. it's giving /usr/lib/lpadmin has failed.i have calcelled all print requst and tried enable,disable and restarted print scheduler and restarted hp-ux system and tried reinstalling the printer (model name:epson) still i'm not able to get the printing. but if i redirect to printer device file it's printing.
ls > /dev/lp_printername


what may be the problem???????????

Thank in advance for your reply
Be an expert
3 REPLIES 3
Bill Hassell
Honored Contributor

Re: printer not working

This is a very ancient version of HP-UX so this will be a lot of hazy recalls and guessing. I will take a guess that this is a printer connected by a Centronics parallel cable. Since printing direct to the device file works OK and lpadmin reports an error when removing the printer, it sounds like someone with root capability has changed permissions or ownerships in the /usr/spool/lp directories.

Start by looking at root's shell history in .sh_history to see if someone issued any chmod or chown commands recently. If you have another 9.05 system, compare the directory permissions and ownerships for the ENTIRE spooler directory tree. That means:

ll -d /usr
ll -d /usr/spool
ll -d /usr/spool/lp
ll -d /usr/spool/lp/*

HP-UX 9.05 has been obsolete and unsupported since 1998 so it will be difficult to formulate a troubleshooting strategy.


Bill Hassell, sysadmin
Raj D.
Honored Contributor

Re: printer not working

Gurumanickam ,

Did you checked the printer status with
# lpstat -t

and
# lpstat -pPrinter_name

If every thing is ok, then delete it with #lpadmin -xPrinter_name and recreate it. Hope it will work.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
skt_skt
Honored Contributor

Re: printer not working

lp -dprintername reports the printername non existance..

It means the queue is not getting detected.verify if the q name is listed in /etc/lp/member.


Rcreating the q had worked for me in this kind of scenario and that require only spooler needs to be bounced.
How did u cancel/enable/disable when the q name is not accepted.