Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!voder!pyramid!ctnews!mitisft!dold From: dold@mitisft.Convergent.COM (Clarence Dold) Newsgroups: comp.unix.questions Subject: Re: How do you do Remote lp spooling? Message-ID: <1386@mitisft.Convergent.COM> Date: 5 Feb 90 16:01:34 GMT Distribution: usa Organization: Convergent Technologies, San Jose, CA Lines: 23 There are two lp interface styles popular in this house, for SysV remote printing. MACHINE=remote machine name. TYPE=remote printer name or class FILE= file to be printed OPTIONS= options fed to the remote interface The first uses uucp access: uux - -n "$MACHINE"!lp -d$TYPE $OPTIONS < $FILE The other uses /usr/spool/lp/.rhost equivalenced to mymachine!lp rcmd $MACHINE "lp -d$TYPE " <$FILE rcmd appears to need different command lines, depending on whether [ $OPTIONS ] rcmd $MACHINE "lp -d$TYPE -o\"$OPTIONS\"" <$FILE -- --- Clarence A Dold - dold@tsmiti.Convergent.COM (408) 435-5293 ...pyramid!ctnews!tsmiti!dold FAX (408) 435-3105 P.O.Box 6685, San Jose, CA 95150-6685 MS#10-007