help remote print to bsd from sysV
Paul Davey
paul at x.co.uk
Thu Jan 10 00:04:29 AEST 1991
In article <1991Jan7.173643.18472 at jato.jpl.nasa.gov> mwette at 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 at x.co.uk IXI Limited
Paul Davey pd at ixi.uucp 62-74 Burleigh St.
...!uunet!ixi!pd Cambridge U.K.
"These are interesting times" +44 223 462 131 CB1 1OJ
More information about the Comp.unix.admin
mailing list