ben@cunixf.cc.columbia.edu (Ben Fried) (01/05/90)
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. Do I have to write a custom "remote lpd-based printer" qdaemon backend, or is there a way of doing this with a standard AIX system? Or should I bring up the 4.3 lpr and lpd under AIX? Ben -- Benjamin Fried ben@cunixf.cc.columbia.edu rutgers!columbia!ben
dyer@spdcc.COM (Steve Dyer) (01/05/90)
> Or should I bring up the 4.3 lpr and lpd under AIX?
This is what I did. It was simple. (I should qualify that. At Athena,
we have modified "lpr" so that no spooling occurs on the client machine,
so I just had to get "lpr" working, and not "lpd". But I wouldn't
envision problems.)
--
Steve Dyer
dyer@ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer
dyer@arktouros.mit.edu, dyer@hstbme.mit.edu
jackv@turnkey.gryphon.COM (Jack F. Vogel) (01/06/90)
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. Ben, 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. When I set it up I did a strings on the binary to determine the various flags. But I did have remote printing to a Sun server working just fine. Good Luck! Disclaimer: These are my opinions and not necessarily IBM's or LCC's. -- Jack F. Vogel jackv@seas.ucla.edu AIX Technical Support - or - Locus Computing Corp. jackv@ifs.umich.edu
karish@forel.stanford.edu (Chuck Karish) (01/06/90)
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