Re: [PARPORT] ieee1284 nibble mode, device_id


Tim Waugh (tim@cyberelk.demon.co.uk)
Sun, 31 Jan 1999 17:18:12 +0000 (GMT)


On Sun, 31 Jan 1999, Andree Borrmann wrote:

> But also the idlen in parport_probe is calculated wrong. We don't need
> to substract 2 because the idlen does not include the two idlen
> bytes...

Std-1284 says it does: "The first two bytes are the length of the
sequence, including the two length bytes." Not only that, but "[t]he host
is required to interpret the first two bytes of the peripheral-to-host
message as a message length field" so we're not even supposed to ignore it
if it's wrong.

> With these two changes parport_probe works here.

Minolta must have borrowed Epson's smudged copy of the standard, then.

> I get not status readback from the printer with cat dev/lp0 but I think that's
> because the printer does not support it...

What command sets are mentioned in the device ID string?

Tim.
*/

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Sun 31 Jan 1999 - 12:30:11 EST