on 4/24/01 10:19 PM, David Paschal at [EMAIL PROTECTED] wrote:
> David M. Curry wrote:
>> Does anybody have any information regarding the LaserJet 1200? the usblp
>> (printer module) sees it and sets up /dev/usb/lp0, but writes to it
>> dissapear into the bit-bucket. After playing a while, I'm pretty sure that
>> the data is being sent to the printer. Does this printer require an
>> initialization string before printing? BTW, printer.c is very nicely
>> written code---I can't believe I've shyed away from linux all this time
>> because I thought that it would be obfuscated garbage code.
>
> Hi, David. The LaserJet 1200 advertises a "7/1/3" interface first, which
> is what printer.c picks up. 7/1/3 is for the IEEE 1284.4 packetized
> transport protocol, so you can't just send raw print data to it the way
> you could 7/1/2 (bidirectional) or 7/1/1 (unidirectional). 1284.4 (or
> the older HP MLC protocol) are needed for non-printing tasks on an HP MFP
> (multi-function peripheral), such as scanning. The HP OfficeJet Linux
> driver project now has a USB-capable MLC/1284.4 driver in CVS at
> http://hpoj.sourceforge.net.
>
> I suppose it would be a good idea to add some sort of command-line switch
> to printer.c telling it whether to bind to or skip over a 7/1/3 interface.
> Lacking that for now, you could just hack printer.c to skip 7/1/3, by
> modifying the "interface->bInterfaceProtocol > 3" test in usblp_probe(),
> changing the 3 to a 2. Alternatively you could try out the hpoj driver,
> but it will add some unnecessary overhead since you don't have the 1220,
> which includes the scanner attachment.
>
> David
>
Thank you so much! I think that I'll see if I can't get printer.c to grok
the third case (1284.4), but only to bind to printers (i.e. a 1200, but not
1220). I'll go ahead and post this code when I finish in case somebody else
is interested.
Cheers,
David
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel