Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!hplabs!hpcc05!hpgva1!hpuamsa!robs From: robs@hpuamsa.neth.hp.com (Rob Slotemaker CRC) Newsgroups: comp.sys.hp Subject: Re: Print Spooling to a printer off a diskless node? Message-ID: <28510049@hpuamsa.neth.hp.com> Date: 27 May 91 08:11:27 GMT References: <427@aplcomm.JHUAPL.EDU> Organization: HP-Sales Office-The Netherlands Lines: 33 To make spooling to a local printer work you should do: - add the printer to the lp spooler with device /dev/null; - modify your script in /usr/spool/lp/interface as follows: { (current contents of script) } | remsh /usr/spool/lp/interface/.aux - add a script named .aux in /usr/spool/lp/interface: #!/bin/sh # An auxiliary script to do remote spooling on diskless client # as found in HP-UX 7.0 Supplement to the Technical Exchange # Use Bourne shell to avoid any job control anomalies with background jobs sleep 999999 > /dev/printer& stty < /dev/printer cat - > /dev/printer kill $! (sleep and stty to be setup as wanted) This solution works fine for serial printers in our clustered environment. Note that spooling using a printer connected to a diskless node still is unsupported ! Best regards, Rob Slotemaker, Dutch CRC