Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!decwrl!shelby!portia!forel!karish From: karish@forel.stanford.edu (Chuck Karish) Newsgroups: comp.unix.aix Subject: Re: remote printing and qdaemon Message-ID: <8027@portia.Stanford.EDU> Date: 6 Jan 90 04:20:49 GMT References: <1990Jan5.045831.10778@cunixf.cc.columbia.edu> <6409@turnkey.gryphon.COM> Sender: USENET News System Reply-To: karish@forel.stanford.edu (Chuck Karish) Distribution: usa Organization: Mindcraft, Inc. Lines: 37 In article <6409@turnkey.gryphon.COM> jackv@turnkey.gryphon.COM wrote: >In article <1990Jan5.045831.10778@cunixf.cc.columbia.edu> ben@cunixf.cc.columbia.edu (Ben Fried) writes: >>I've got a small cluster of AIX machines, and would like to be able to >>print to a printer hanging off an Ultrix or SunOS system. I haven't >>found anything in the manuals on using remote lpd-based printers from AIX, >>and haven't gotten anywhere with adding stanzas to the qconfig >>file. > > This is simply done. The addition of a stanza to the qconfig file >is the solution, the trick is that you must use the right backend. What >I have done in the field before is add a new printer stanza called netlp >or some such thing, make the argument -net (that way print -net will give >you the network print spool). Then for a backend use /etc/lprbe. I think >the only flag needed is -pserver=host, where host is the name of the >print server you want. I am not sure if there is a man page for this >beast or not. The stanza should probably include the line "friend = false" as well. There is a man page for lprbe. I used it, as Jack described, to cause a small group of RTs running AIX to print through the spooler on a VAX running Ultrix 2.0. Our AIX users don't have to use a '-net' argument for 'print'; the remote printer is the default for them. I think this is based on the order of stanzas in qconfig. What I never learned was how to set up a print spool on an AIX host so it would handle requests from the VAX. The problem was that when a request came from the VAX to print multiple files, the qdaemon on the RT went into a nasty loop and printed lots of error messages on the console. Single files printed with no problem. This was under AIX 2.1.2; I haven't re-tried this under 2.2.1. Chuck Karish karish@mindcraft.com (415) 323-9000 karish@forel.stanford.edu