Path: utzoo!attcan!uunet!crdgw1!crdgw1.ge.com!barnett From: barnett@crdgw1.crd.ge.com (Bruce G. Barnett) Newsgroups: comp.unix.questions Subject: Re: Is there an alternate method of remote printing? Message-ID: <462@crdgw1.crd.ge.com> Date: 26 May 89 16:26:45 GMT References: <568@laic.UUCP> Sender: news@crdgw1.crd.ge.com Reply-To: barnett@crdgw1.crd.ge.com (Bruce G. Barnett) Organization: GE Corp. R & D, Schenectady, NY Lines: 26 In-reply-to: root@nova.laic.uucp (The Root of all evil) In article <568@laic.UUCP>, root@nova (The Root of all evil) writes: You said it. the address root@nova.laic.uucp is nonsense. laic.uucp is not a domain. >I am trying to set up a print queue from machine A that prints on >machine B. I do not want to put machine A into hosts.equiv on machine B. >Machine B is a Sun running SunOS 3.4. Is there a way to do this (such >as a filter that does rsh) or am I stuck? create the file /etc/hosts.print. Put a plus sign in it. echo "+" >/etc/hosts.print edit the file /usr/lib/lpd so that "/etc/hosts.equiv" is now "/etc/hosts.print" Note: 1) the string is still the same size, but a different value 2) you need an editor that will let you edit a binary file You can use emacs. Some binary editors appeared in comp.sources. Also - There are some programs that convert od(1) output into binary. convert lpd to ascii, edit, convert back to binary. -- Bruce G. Barnett a.k.a. uunet!crdgw1.ge.com!barnett barnett@crdgw1.UUCP