[Tutor] pyLPD
alan.gauld@bt.com
alan.gauld@bt.com
Tue Dec 31 06:15:02 2002
> I wanted to working with LPT1: on windows, but it seems to
> bee impossible.
> Simply I can't capture the stream sent to it.
Have you checked the MODE command? Its DOS but works even in W2K etc...
Heres the /? output:
-----------------------------------------------------
C:\>mode /?
Configures system devices.
Serial port: MODE COMm[:] [BAUD=b] [PARITY=p] [DATA=d] [STOP=s]
[to=on|off] [xon=on|off] [odsr=on|off]
[octs=on|off] [dtr=on|off|hs]
[rts=on|off|hs|tg] [idsr=on|off]
Device Status: MODE [device] [/STATUS]
Redirect printing: MODE LPTn[:]=COMm[:]
Select code page: MODE CON[:] CP SELECT=yyy
Code page status: MODE CON[:] CP [/STATUS]
Display mode: MODE CON[:] [COLS=c] [LINES=n]
Typematic rate: MODE CON[:] [RATE=r DELAY=d]
----------------------------------------------------
Note the bit about redirecting LPTn....
HTH,
Alan g.