Printers disable

 
SOLVED
Go to solution
CA484857
New Member

Printers disable

Hello,

I am running HPUX 11.23 on Intanium. All printers talks to Windows 2003 DNS server. Sometime when DNS server has to be restart or hang, many printers that are trying to print just disable. Then I need to go in SAM and enable all of them. Is there a way to tell UNIX to retry or wait? Can you help?

Tkx

 

 

P.S. this thread has been moved from Servers - Experts Online Now!!! > Itanium Based - Experts Online Now!!! to HP-UX > sysadmin - Hp Forums moderator

1 REPLY 1
BR679683
Advisor
Solution

Re: Printers disable

I do not know how to prevend (I think remote rinters does have les problems than network printers

a workarount to make sure the printers are enabled jut put this in the cron:

lpstat -t |grep disabled |awk '{ print $2 } '|while read line
do
enable $line
done