Path: utzoo!censor!isgtec!bmw From: bmw@isgtec.uucp (Bruce M. Walker) Newsgroups: comp.unix.admin Subject: Re: help remote print to bsd from sysV Message-ID: <792@isgtec.UUCP> Date: 10 Jan 91 01:08:14 GMT References: <1991Jan7.173643.18472@jato.jpl.nasa.gov> Sender: news@isgtec.UUCP Reply-To: bmw@isgtec.UUCP (Bruce M. Walker) Organization: ISG Technologies Inc. Mississauga Ont. Canada Lines: 20 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. ??? Stevens, in his book "Network Programming", gives an lpr client as one of his examples. You can FTP the code from the book from: uunet.uu.net: pub/netprog.tar.Z Or, I could mail you a hack I did. I started with LPR.C from PC/IP and now I have lpr, lpq and lprm for SysV (tested on Convergent Tech. and SGI), but there is almost no LPR.C code left :-) -- bmw@isgtec.uucp [ ..uunet!utai!lsuc!isgtec!bmw ] Bruce Walker