From: mmccarri@physics.ucla.edu (Mike McCarrick)
Subject: Re: XOFF problem with HP printer on DS5000/200
Date: Mon, 16 Mar 92 22:01:59 GMT [thread overview]
Message-ID: <1992Mar16.220159.23928@physics.ucla.edu> (raw)
In-Reply-To: 1992Mar13.191235.29572@physics.ucla.edu
In <1992Mar13.191235.29572@physics.ucla.edu> I wrote:
>I am trying to attach an HP Laserjet III (w/ Postscript) to my
>DS5000/200 running Ultrix 4.0. The printcap entry is included at the
>end for your information.
>The problem seems to be that the DECstation doesn't respond quickly
>enough th XOFF's from the printer. That is, if I eavesdrop on the
>serial line, I can see that the printer sends an XOFF, the DS continues
>sending, the printer then sends a bunch more XOFF's and then complains
>about and I/O Config error (buffer overflowing). The DS does eventually
>stop sending data, but only after overflowing the printers input buffer.
>Has anyone else seen or solved this problem? Is it a problem with the
>HPLJ sendin XOFF too late (when the buffer is too close to full), i.e.
>is there another printer that would work correctly?
I received a couple of requests to post any solution, so here it is:
The needed patch came from Klaus Harbo <harbo@euromath.dk>, which he
in turn received from John Voss <j.voss@ucq.edu.au>. The patch is
applied to /usr/sys/machine/common/conf.c and goes like this:
>
> *** /usr/sys/machine/common/conf.c.orig Tue Feb 12 10:46:23 1991
> --- /usr/sys/machine/common/conf.c Tue Feb 12 10:47:53 1991
> ***************
> *** 1072,1077 ****
> --- 1072,1078 ----
>
> #ifdef mips
> int cnopen(),cnclose(),cnread(),cnwrite(),cnioctl(),cnselect();
> + int cnstop();
> #endif mips
>
> #ifdef vax
> ***************
> *** 1896,1902 ****
> #endif vax
> #ifdef mips
> /* d_ttys will be filled in by cninit */
> ! cnioctl, nulldev, nulldev, 0,
> cnselect, nodev, 0, 0},
> #endif mips
> {dzopen, dzclose, dzread, dzwrite, /*1*/
> --- 1897,1903 ----
> #endif vax
> #ifdef mips
> /* d_ttys will be filled in by cninit */
> ! cnioctl, cnstop, nulldev, 0,
> cnselect, nodev, 0, 0},
> #endif mips
> {dzopen, dzclose, dzread, dzwrite, /*1*/
>
After rebuilding the kernel, the printer now works perfectly! Thanks Klaus!
Regards,
Dr. Mike McCarrick
Plasma Physics Lab, UCLA
prev parent reply other threads:[~1992-03-16 22:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-03-13 19:12 XOFF problem with HP printer on DS5000/200 Mike McCarrick
1992-03-16 22:01 ` Mike McCarrick [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox