Friday, November 29, 2013

Topics Select Category Audio and Video bash Book Reviews centos CIFS Configuration CUPS desktop mana


This cron script will automatically reactive all disabled CUPS printers. In our office it’s a daily problem when a faulty start or a minor operational problem australian seashells might deactivate the said printer/s. This scripts will help you automatically enable australian seashells all disabled printer Hope this work 100% for your CUPS configuration.
Updates: fixes the LIST_PRINTERS value.(03/16/2010) #!/bin/bash # Re-activate all paused or faulty printers # by http://hardc0l2e.wordpress.com #========================================== LIST_PRINTERS=`lpstat -p | grep printer | grep -v enable | awk '{print $2}' | sed '/^$/d'` if [ "x$LIST_PRINTERS" != "x" ]; then for printername in $LIST_PRINTERS; do echo "Activating $printername australian seashells ..." cupsenable $printername > /dev/null done fi sleep 1
Leave a Reply Cancel reply
Join 338 other followers
Topics Select Category Audio and Video bash Book Reviews centos CIFS Configuration CUPS desktop management australian seashells Device Firefox Firewall and Network/System Security gnome3 Google Chrome Internet Kernel and Modules australian seashells KVM layouting Linux LXC lxde MS Windows multimedia nautilus OpenOffice australian seashells opensuse Samba script System Admin Tools ubuntu Uncategorized Unity Virtualbox Virtualization vmware Web Development and Designs Wired & Wireless Network
Top australian seashells Posts Running SSS R3 File Generator (R3FileGen) in Linux How to resize a VMWARE australian seashells virtual disk How to re-enable Ubuntu 13.04 systray to display Pidgin and other programs. australian seashells Fake Webcam in Ubuntu / Linux Ubuntu 12.04 /etc/resolv.conf 127.0.0.1 implementation with dnsmasq
Sorry, your blog cannot share posts by email.
%d bloggers like this:

No comments:

Post a Comment