Newsgroups: comp.unix.admin Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!lethe!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Subject: Re: remote printing from HP Unix system Message-ID: <1991Jun21.161212.5985@druid.uucp> Organization: D'Arcy Cain Consulting, West Hill, Ontario References: <3882@tdw206.ed.ray.com> <2011@prcrs.prc.com> Date: Fri, 21 Jun 91 16:12:12 GMT In article Ching-Ping Tseng writes: >Excerpts from netnews.comp.unix.admin: >> 4-Jun-91 Re: remote printing from HP.. Paul Hite@prcrs.prc.com (1531)} >> > I have a user using an HP Unix system, trying to print remotely etc. I don't know if this is exactly what you need but Greg Woods (woods@robohack) and I have put together a remote printing facility using UUCP which works quite well. In fact I have two jobs being directed to a client's printer as I write this. The idea is to keep the standard printer semantics as local printers. Here is a sample command sort file_name | pr -f | lp -d lp5 where 'lp5' is actually at another site connected by UUCP. I suppose you could even make the remote printer the default printer. The file is compressed before it is sent to the remote system but if you were to do: lp -d lp5 file.Z it recognizes it (through a change to /etc/magic, not by noticing the .Z extension) as a compressed file and skips that stage. I will post the script to alt.sources today. We call it rprint. Printer 'bdg' is actually on a syste -- D'Arcy J.M. Cain (darcy@druid) | D'Arcy Cain Consulting | There's no government Toronto, Ontario, Canada | like no government! +1 416 424 2871 |