ftp.nice.ch/pub/next/unix/printing/npoffd.1.0.README

This is the README for npoffd.1.0.N.bs.tar.gz [Download] [Browse] [Up]

'npoffd' will automatically shut off the NEXT printer when it has not been used for X seconds.

Yes you can fool it if you want to.

To use "npoffd" to shut off the NeXT Laser Printer, add this to /etc/rc.local


# run daemon which will power off NeXTPrinter when not in use
if [ -x /usr/local/etc/npoffd ]; then
     (sleep 5; /usr/local/etc/npoffd 900) &
     (echo -n ' npoffd')                                        >/dev/console
else
     (echo ; echo "ERROR: can't find npoffd!")                  >/dev/console
fi

change '900' to however many seconds you want to wait before shutting the printer off.

make sure you change the path to npoffd to point to your system 

It will automagically turn back on when it is done...

I didn't write this... see the source code for author information.

TjL <luomat@peak.org>
20 May 1997


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.