Re: Druckerzugriff zeitlich beschraenken

From: Andreas Klemm <andreas(at)klemm.gtn.com>
Date: Tue, 18 Apr 2000 21:56:26 +0200
>Received: (from andreas(at)localhost) by klemm.gtn.com (8.9.3/8.9.3) id VAA55977; Tue, 18 Apr 2000 21:56:26 +0200 (CEST) (envelope-from andreas)

On Tue, Apr 18, 2000 at 11:54:51AM +0200, Matthias Teege wrote:
> Moin,
>
> ich möchte gerne mein Drucksystem so verändern, daß ein
> bestimmter Drucker nur zu vorgeschriebenen Zeiten wirklich
> druckt. Außerhalb der Druckzeit soll der Druckserver aber
> trotzdem Jobs annehmen, diese aber nicht an den Drucker
> weiterleiten.
>
> Ich verwende den LPRng Spooler unter FreeBSD 3.3. Das
> Einzige was mir jetzt noch fehlt ist die Möglichkeit, den
> Spooler (am besten via printcap) für einen bestimmten
> Zeitraum an der Weiterleitung der Jobs zu hindern.
>
> Hat jemand von euch eine Idee?

Via cron:

root(at)titan{501} $ lpc down all test
ascii:
        printer and queuing disabled
lp:
        printer and queuing disabled
raw:
        printer and queuing disabled
ascii2:
        printer and queuing disabled
lp2:
        printer and queuing disabled
raw2:
        printer and queuing disabled
root(at)titan{502} $ lpq
Warning: lp is down: test
Warning: lp queue is turned off
no entries
root(at)titan{503} $

ot(at)titan{503} $ lpc up all
ascii:
        printing enabled
        daemon started
lp:
        printing enabled
        daemon started
raw:
        printing enabled
        daemon started
ascii2:
        printing enabled
        daemon started
lp2:
        printing enabled
        daemon started
raw2:
        printing enabled
        daemon started

Anstatt "all" kannst Du auch einen speziellen Drucker wählen...

-- 
Andreas Klemm                               http://people.FreeBSD.ORG/~andreas
                                     http://www.freebsd.org/~fsmp/SMP/SMP.html
                                   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 533 and songs from our band - http://people.freebsd.org/~andreas
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 18 Apr 2000 - 22:15:40 CEST

search this site