Subject: BPP driver status
To: None <port-sparc@netbsd.org>
From: None <gdunlap@san.rr.com>
List: port-sparc
Date: 01/22/2003 10:22:50
What's the current status of the bpp (parellel port) driver on sbus?   I'm
running the "stable" version of 1.6 on an LX, and want to print to an
Epson Stylus Color 740 that's connected to the built-in parallel port.

I asked before but didn't get a definative answer.  After creating
/dev/bpp0 I can cat a short file (such as /etc/hosts) to it, and can print
a short file normally using the LPRng spooler (had to compile LPRng because
the stock LPD system wouldn't print anything for some reason), but anything
long enough seems to get garbled.

For example, locally printing a postscript file via Ghostscript results in
the first inch or so of the image printing OK, followed by lots of mixed
graphical and text garbage.

Printing a Windows Test Page from WinXP via lpd yielded the same results -
the first inch or so of print looked fine, followed by garbage.

I recompiled bpp.c with DEBUG defined, and I suppose the next step is to
send a large pattern of printable characters to the printer to see exactly
where it gets munged.

I've never hacked on a driver before, so I'm hoping someone can respond
with some hints, or better yet, a patch. :)  Surely I'm not the only one
in the world who wants to print from an LX!  Is this even *supposed* to work?

Thanks!

Greg Dunlap