Re: [PARPORT] ieee1284 nibble mode, device_id


Andree Borrmann (A.Borrmann@tu-bs.de)
Sun, 31 Jan 1999 19:32:43 +0100 (CET)


On 31-Jan-99 Tim Waugh wrote:
> 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.
>

Seems so...
Which devices(printers) does this right?
Would it break standard conform devices to try to read 2 additional bytes?
And then check the last character: Should be a ";"...

> What command sets are mentioned in the device ID string?

Unluckily only GDI:

MFG:MINOLTA;CMD:GDI;MDL:Minolta PagePro 6L;CLS:PRINTER;

I am currently working on "inverse" version of parport_probe so my computer can
simulate to be a printer. (I'll try to reverse-engineer my printers protocol...)

Bye,
Andree

-- 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 - 13:39:12 EST