Cups Disables LPD Printer
Franz Pförtsch
franz.pfoertsch at brose.net
Thu Oct 13 13:54:02 PDT 2005
Sven Jacobs wrote:
> Hey Everybody,
>
> We have novell linux desktop 9.0 installed in our shops.
> In some shops we use a ioprint+fast lpd style printserver
>
> the problem is that cups disables the printer. It's not always so i can
> not give any timings ...
>
> Novell linux Desktop 9.0
> cups-1.1.20-108.11
> IOPRINT+FAST
>
>
> Is there a fix or work around for this problem
Today you have to do something like this in the crontab:
--8<----------
cat /usr/cust/bin/start_printer
#!/bin/bash
##############################################################################
# /usr/local/sbin/enable_printers.sh
# Beschreibung: Da die Drucker bei korrodin unter Cups zwar Auftr�e
# anstandslos annehmen, diese aber erst drucken, wenn
# die Drucker "enabled" werden, dieses Skript als Workarround:
# Es enables mintlich die vorhanden Drucker. Unsch�, aber
# wenn's hilft...
##############################################################################
PRINTERS=$(lpstat -t | grep disable | /usr/bin/cut -d" " -f2)
for PRINTER in $PRINTERS
do
/usr/bin/enable $PRINTER
done
--8<----------
regards
Franz
More information about the cups
mailing list