Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!ogicse!hsdndev!hulaw1.harvard.edu!roth2 From: roth2@hulaw1.harvard.edu Newsgroups: comp.sys.next Subject: Re: NeXT Laser Printer/poweroff Solutions Message-ID: <1991Apr23.142549.647@hulaw1.harvard.edu> Date: 23 Apr 91 18:25:49 GMT Lines: 30 Thanks to everyone who offered much useful information re: how to turn off a printer automatically. (At least) two solutions exist. (1) (provided by Erik Kay): create the following executable: #!/bin/sh usr/etc/nppower off then execute the following as su dwrite looginwindow LoooginHook last, logout, type exit as user in the login window and type return for password. Logback in as any user and the printer will turn off. (2) (provided by Art Isbell) add the following to the rc.local file: sleep 2 /usr/etc/nppower off and the printer should come on and then go back off at boot time. Thank you Erik and Art -- and all else who responded. CAVEAT EMPTOR ..... blaa blaa blaa -------------------------------------------------------- NeXTMail to all addresses: tony%cyrano@merk.com tony%cyrano@uunet.uu.net ...uunet!cyrano!tony roth2@hulaw1.harvard.edu (as s last resort only!)