Re: cups printers disabled randomely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Printer will randomly disable. Have to /usr/bin/enable the printer to

> continue printing.

 

I think I  read somewhere about a TIMEOUT option where printers a

disabled if they do not respond with the default (300 sec?) timeout.

But I could be wrong and you seem to have not luck with it either.

 

A script running with a high frequency to enable printers can be put in crond.

 

lpstat -t | grep disable > ${mytmp}

cat ${mytmp} | grep 'printer' | awk '{print $2}' > ${mytmp}.txt

for disabled_prn in `cat ${mytmp}.txt`

do

        debug "Disabled Printer         :${disabled_prn}"

        /usr/bin/enable ${disabled_prn}

        debug "Executing /usr/bin/enable ${disabled_prn} "

        email_sub="PRN::Disabled printer  ${disabled_prn} was enabled

on `hostname -s`, `date`"

        debug "Email SUB                :${email_sub}"

        email_sysad

done

 

I have put a cron job in for a patch but I must figure out why this is happening.

cron basically runs /usr/bin/enable every 3 minutes.

 

What “signal” does CUPS get to disable the printer? Does it come from the system lpd somewhere?

How can I track it? Cups error_log give no information.

 

thanks

 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux