Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!olivea!apple!agate!violet.berkeley.edu!39clocks From: 39clocks@violet.berkeley.edu (Peter Marinac) Newsgroups: comp.sys.next Subject: nppower-how do I turn the printer off? Keywords: nppower bootup laserprinter Message-ID: <1991Mar4.032137.25066@agate.berkeley.edu> Date: 4 Mar 91 03:21:37 GMT References: <1991Mar4.004555.5336@cc.helsinki.fi> Sender: 39clocks@violet.berkeley.edu Distribution: na Organization: University of California, Berkeley Lines: 31 Forgive me if this is covered in the Manual; I bought my cube from Bland and it did not come with a User manual. I use my machine at home and have a NeXT laser printer attached to it. However, since I only use the printer once a week or so, I've gotten into the habit of pulling the plug on it to save kilowatts and wear-&-tear on the printer. One day, 'apropos' came up with 'nppower on | off' in response to something I threw at it. Wow, I said, just what I was looking for. But it doesn't work! Well, not unless you do an 'su' first. Here is what I would like to do. Not being a unix wiz, I'm not sure where to start. 1) Prevent the bootup sequence from starting up the printer. I hope I can just comment something out to get this to work. 2) Change nppower so that 'me' can power up the printer. or, and this would be much prefered, 3) Have the printer turned on the first time I try to print something. Of course, this might not work because the printer driver may time-out before the laser warms up. Does anyoune out there have experience with this issue? I looked around in /etc/rc, /etc/rc.local, /etc/hostconfig, and /etc/rc.boot, but couldn't find anything relevant. There is a data structure described under the manual entry for 'np' that stores information on the printer and whether or not it is turned on. So if I get real desperate, I will write a program to do what I want - actually, I'm kind of surprised that NeXT did not include this functionality in the PrinterManager or Preferences applications. Thanks, Peter Marinac