[comp.unix.i386] Printing on a remote host using ISC's 386/ix

jdg0@GTE.COM (Jose Diaz-Gonzalez) (02/24/90)

Hi there!

I'm trying to figure out how to transparently use a laser printer, 
located on an Ethernet host, from my 386 running 386/ix version 2.0.2.  
The host is running Ultrix.  Obviously, I could just use a shell script 
with "cat $1|rsh <machine_name> /usr/ucb/lpr" but I'm looking for
something better.

	-- Jose

larry@focsys.uucp (Larry Williamson) (02/25/90)

In article <8614@bunny.GTE.COM> jdg0@GTE.COM (Jose Diaz-Gonzalez) writes:

   I'm trying to figure out how to transparently use a laser printer, 
   located on an Ethernet host, from my 386 running 386/ix version 2.0.2.  
   The host is running Ultrix.  Obviously, I could just use a shell script 
   with "cat $1|rsh <machine_name> /usr/ucb/lpr" but I'm looking for
   something better.

I went through this very thing about 3 or 4 weeks ago. I received
quite a few suggestions. Some good, some not so good. I posted a
summary about 2 or 3 weeks ago, too bad you missed it.

There are pro's and con's for each of a number of the possible
solutions. The solution that suited my needs best was a small tcp
client/server package that Lawrence Freil (dogwood.atl.ga.us!lef) sent
me. In a nutshell, the package provides a small client you install as
an lp interface on all machines that want access to the remote
printer, and a small server that runs on the machine with the remote
printer. All print requests are forwarded to the server which submits
the request to lp.

Installation is very, very simple. Edited from the readme file...

1. type make
2. append inetd.conf to /etc/inetd.conf  (it is one entry).
3. copy spooler /etc/spooler (this is the server)
4. Create a /etc/printservers for your system from the example provided.
   (Very, very simple to do).
5. Hit inetd with a SIGHUP (kill -1) signal.
6. /usr/lib/lpadmin -p laser -v /dev/null -i pclient
7. You should now be in business.

If you want it, I can mail it to you. A uuencoded compressed tar is
8K. It is very simple generic tcp code. It installed on our 386/ix
system with no troubles at all.

-Larry

rick@pcrat.uucp (Rick Richardson) (03/09/90)

In article <LARRY.90Feb24152503@focsys.uucp> larry@focsys.uucp (Larry Williamson) writes:

>   I'm trying to figure out how to transparently use a laser printer, 
>   located on an Ethernet host, from my 386 running 386/ix version 2.0.2.  
>   The host is running Ultrix.  Obviously, I could just use a shell script 
>   with "cat $1|rsh <machine_name> /usr/ucb/lpr" but I'm looking for
>   something better.

I got a copy of "netlp" from ISC last September which implements a
client-server network lp interface (though I've never tested it).
According to the DISCLAIMER that came with the software, it was
an unsupported and freely copyable work.  Perhaps someone at ISC
could elaborate on the status and availablility of this program
here in this forum.  I hesitate to send out a copy of "netlp"
if it has been significantly improved and/or has become a bona-fide
ISC product.

-Rick

-- 
Rick Richardson | Looking for FAX software for UNIX/386 ??? Ask About: |Mention
PC Research,Inc.| FaxiX - UNIX Facsimile System (tm)                   |FAX# for
uunet!pcrat!rick| FaxJet - HP LJ PCL to FAX (Send WP,Word,Pagemaker...)|Sample
(201) 389-8963  | JetRoff - troff postprocessor for HP LaserJet and FAX|Output

karl@ddsw1.MCS.COM (Karl Denninger) (03/10/90)

In article <1990Mar8.173527.2437@pcrat.uucp> rick@pcrat.UUCP (Rick Richardson) writes:
>In article <LARRY.90Feb24152503@focsys.uucp> larry@focsys.uucp (Larry Williamson) writes:
>
>>   I'm trying to figure out how to transparently use a laser printer, 
>>   located on an Ethernet host, from my 386 running 386/ix version 2.0.2.  
>>   The host is running Ultrix.  Obviously, I could just use a shell script 
>>   with "cat $1|rsh <machine_name> /usr/ucb/lpr" but I'm looking for
>>   something better.
>
>I got a copy of "netlp" from ISC last September which implements a
>client-server network lp interface (though I've never tested it).
>According to the DISCLAIMER that came with the software, it was
>an unsupported and freely copyable work.  Perhaps someone at ISC
>could elaborate on the status and availablility of this program
>here in this forum.  I hesitate to send out a copy of "netlp"
>if it has been significantly improved and/or has become a bona-fide
>ISC product.

We have a "networked printer" spooler/client thing here that was sent to me.
It seems to work, but some optimizations I did to it (like not
reading/writing a character at a time) can cause ISC's TCP/IP to blow
cookies on the floor.  Once we have it stable I might consider posting it
(if I can get permission from the authors).

--
Karl Denninger (karl@ddsw1.MCS.COM, <well-connected>!ddsw1!karl)
Public Access Data Line: [+1 708 566-8911], Voice: [+1 708 566-8910]
Macro Computer Solutions, Inc.   "Quality Solutions at a Fair Price"