[Bug 1175] New: CUPS disables printers at weekends [solution included]
http://bugs.skolelinux.no/show_bug.cgi?id=1175
Summary: CUPS disables printers at weekends [solution included]
Product: Skolelinux
Version: sarge-release-2.0r0
Platform: x86
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Configuration
AssignedTo: debian-edu@lists.debian.org
ReportedBy: rgx@gmx.de
Especially after long weekends, colleagues complaint about dysfuncional
printers. The reason was that CUPS disables printers that don't react within a
given time. This happens on weekends, when printers are turned off while there
are jobs left on the queue.
The easiest solution for this looks like this:
Write a cronjob that runs every morning and starts your printer(s):
# cupsenable -c MyPrinterID
Option "-c" clears the queue before activating the printer.
To get a list of your printers, on root@tjener can type:
# grep '^<\(Default\)\?Printer ' /etc/cups/printers.conf
Max gave a hack that turns on all given printers in a row:
grep '^<\(Default\)\?Printer ' /etc/cups/printers.conf | sed -e
's/^<\(Default\)\?Printer \(.\+\)>/\2/' | \
while read printer; do
cupsenable $printer
done
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Reply to: