Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!acorn!ixi!ixi!paul From: paul@x.co.uk (Paul Davey) Newsgroups: comp.unix.admin Subject: Re: help remote print to bsd from sysV Message-ID: Date: 9 Jan 91 13:04:29 GMT References: <1991Jan7.173643.18472@jato.jpl.nasa.gov> Sender: paul@x.co.uk (Paul Davey) Organization: IXI Ltd. Lines: 31 In-Reply-To: mwette@mr-ed.jpl.nasa.gov's message of 7 Jan 91 17:36:43 GMT In article <1991Jan7.173643.18472@jato.jpl.nasa.gov> mwette@mr-ed.jpl.nasa.gov (Matt Wette) writes: We have several printers attached to machines running SunOS 4.1 and have a couple of SysV machines that would like to use these printers. What's the best way to do this? 1. try to port lpd to sys V machines (Source is available from Berkeley, I believe.) 2. write custom program to ftp files and run remote process 3. ??? Create and install a dummy printer using the sys5 lp utilities. [see lpadmin(1m)] Use the script in /usr/spool/lp/model/dummy to rsh or remsh to a Sun and pipe into lpr. (If I remember correctly you have to close the file descriptor for standard output in the script with exec or it hangs). This can rsh or remsh to a sun and pipe into lpr. This is easier than 1. or 2. but doesn't handle job listing or cancelation. It means that software on the sys5 box can still print to lp though. -- Regards, pd@x.co.uk IXI Limited Paul Davey pd@ixi.uucp 62-74 Burleigh St. ...!uunet!ixi!pd Cambridge U.K. "These are interesting times" +44 223 462 131 CB1 1OJ