*BSD News Article 82262


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!news2.EUnet.fr!newsbr.eunet.fr!usenet
From: Frederic.Marand@osinet.fr (Frederic MARAND)
Newsgroups: comp.protocols.tcp-ip,comp.unix.bsd.freebsd.misc
Subject: Re: How does a printserver work ...
Date: Mon, 04 Nov 1996 07:51:29 GMT
Organization: Groupe SEDI / Agorus SA / OSI SARL
Lines: 48
Message-ID: <55kapp$k32@newsbr.eunet.fr>
References: <pg918qzy0e.fsf@theta.Microchip.COM> <5586mh$4da@anorak.coverform.lan> <55ekcg$be1@itchy.serv.net> <55f41a$9u4@newsbr.eunet.fr> <55jmf9$19l@anorak.coverform.lan>
NNTP-Posting-Host: 193.107.196.155
X-Newsreader: Forte Free Agent 1.0.82
Xref: euryale.cc.adfa.oz.au comp.protocols.tcp-ip:49082 comp.unix.bsd.freebsd.misc:30578

brian@anorak.coverform.lan (Brian Somers) wrote:

>In article <55f41a$9u4@newsbr.eunet.fr>,
>	Frederic.Marand@osinet.fr (Frederic MARAND) writes:
>: zeno@serv.net (Sean T. Lamont .) wrote:
>: 
>>>In article <5586mh$4da@anorak.coverform.lan>,
>>>Brian Somers <brian@awfulhak.demon.co.uk> wrote:
>>>>In article <pg918qzy0e.fsf@theta.microchip.com>,
>>>>	pancholi@theta.Microchip.COM (Vineet Pancholi) writes:
>>>Even better, get a Jetdirect card for the HP ; I'm pretty sure
>>>you can run TCP/IP and ipx simultaneously on the ether.
>: In confirm you can: however, the number of actives interfaces provided
>: by the JetDirect it depends on the printer in which you put it. For

>We have a LJ5 (the big thing, about 3' by 3') in work with a JetDirect.
>I could only get about 300 characters to it before the rest disappeared
>down a black hole !  I was fairly sure at the time that they were going
>to the printer (I hacked support for simultaneous ofilter & "rm"), and
>had my filter saying Yep, I sent "these bytes" - but only a few hundred
>ever made it to the printer.  The JetDirect was supporting IPX printing
>with no problems.  The IP stuff didn't work under Sequent's Dynix
>OS either.....

Maybe you could try using a simple socket-based program to print to
the LaserJet. This is what I made, becasue AIX at the time didn't have
support for JetDirects.

Instead of bothering with LPD access, you can use the telnet parallel
port emulation, so the basic idea is:
- initialize sockets (gethostbyXX, socket, 
- bind to port 9099 on TCP on the JetDirect's side.
while
- read PCL formatted file from the spool directory returns > 0
- write it to the socked
 endwhile
shutdown and close socket

Never seen any problem and I used that from various AIX versions, SCO
3.2.4.2, and various SunOSes, on LaserJets from the old LJ II to the
LJ4 Si/MX.

-------------------------
   Frederic G. MARAND
  Agorus SA / OSI SARL
Frederic.Marand@osinet.fr
-------------------------