home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / NEXTSTEP / unix / printing / npoffd.1.0.README < prev    next >
Encoding:
Text File  |  1997-06-04  |  836 b   |  29 lines

  1.  
  2. 'npoffd' will automatically shut off the NEXT printer when it has not been used for X seconds.
  3.  
  4. Yes you can fool it if you want to.
  5.  
  6. To use "npoffd" to shut off the NeXT Laser Printer, add this to /etc/rc.local
  7.  
  8.  
  9. # run daemon which will power off NeXTPrinter when not in use
  10. if [ -x /usr/local/etc/npoffd ]; then
  11.      (sleep 5; /usr/local/etc/npoffd 900) &
  12.      (echo -n ' npoffd')                                        >/dev/console
  13. else
  14.      (echo ; echo "ERROR: can't find npoffd!")                  >/dev/console
  15. fi
  16.  
  17. change '900' to however many seconds you want to wait before shutting the printer off.
  18.  
  19. make sure you change the path to npoffd to point to your system 
  20.  
  21. It will automagically turn back on when it is done...
  22.  
  23. I didn't write this... see the source code for author information.
  24.  
  25. TjL <luomat@peak.org>
  26. 20 May 1997
  27.  
  28.  
  29.