Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!ucbvax!aurora.com!geof From: geof@aurora.com (Geoffrey H. Cooper) Newsgroups: comp.laser-printers Subject: Re: Help with Interleaf TP$ using QMS/Imagen laser printers Keywords: Interleaf, Imagen, Unbundle, non-functional software Message-ID: <9009052056.AA12885@crayola.cs.UMD.EDU> Date: 23 Aug 90 16:15:17 GMT References: <9008222046.AA08142@crayola.cs.UMD.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Aurora Group, Palo Alto, CA Lines: 33 Approved: laser-lovers@brillig.umd.edu In article <9008222046.AA08142@crayola.cs.UMD.EDU> ras@sgfa.ssd.ray.com (Ralph A. Shaw) writes: >"eicat" program (to talk to the Imagens via Ethernet TCP/IP) does not The easiest thing to do is replace eicat with a home-brew. It is actually very simple. First experiment until you know how eicat is being called (replace it with a #!/bin/sh shell script that echos arguments to the console, for example). The IMAGEN protocol is in the TCP/IP supplement to the printer documentation. The easiest thing to do is: for (;;) { open connection to port 35 on printer if succeeds then send all data down the connection if succeeds then break; sleep for 1 minute } You can do better this with somewhat lower overhead by implementing the UDP-based status protocol. In that case, probe the printer with status packets until it indicates that it is running and accepting TCP connections, then attempt one tcp connect. But the above will certainly work well. If you implement a "netpipe" like procedure that opens a socket to port 35 or fails you can do the whole thing from a shell script. When you are done, post your code to comp.sources.unix.... - Geof -- geof@aurora.com / aurora!geof@decwrl.dec.com / geof%aurora.com@decwrl.dec.com