In message <4.2.0.58.20010205172334.00bffc10@mdh.se>, Mohammed El Shobaki write
s:
>We have a problem with negotiating to EPP (or any other mode except COMPAT)
>using the PPNEGOT command (returns -1). However, if we run PPSETMODE for
>the same mode(s) as arguments it succeeds. The question is, what's the
>difference between NEGOT and SETMODE?

I think PPSETMODE just forces the port mode to what you asked for. PPNEGOT
actually negotiates with the peripheral at the other end for a mutually
acceptable mode.

>Also, we're very confused by the failure of NEGOT because we are using real
>IEEE1284 ports that are claimed to support EPP and ECP.

It's more a case of what the peripheral attached to the port understands. You
can negotiate for EPP even on a SPP port.