remote printing and qdaemon

Chuck Karish karish at forel.stanford.edu
Sat Jan 6 15:20:49 AEST 1990


In article <6409 at turnkey.gryphon.COM> jackv at turnkey.gryphon.COM wrote:
>In article <1990Jan5.045831.10778 at cunixf.cc.columbia.edu>
ben at 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 at mindcraft.com
	(415) 323-9000		karish at forel.stanford.edu



More information about the Comp.unix.aix mailing list